Skip to content

Instantly share code, notes, and snippets.

@butchi
Created October 30, 2014 16:23
Show Gist options
  • Save butchi/9066de79503199a98091 to your computer and use it in GitHub Desktop.
Save butchi/9066de79503199a98091 to your computer and use it in GitHub Desktop.
yukicoder No.53 悪の漸化式
(* http://yukicoder.me/problems/no/53 *)
N[RecurrenceTable[{4 a[k] == 19 a[k - 1] - 12 a[k - 2], a[0] == 4, a[1] == 3}, a, {k, 0, 100}]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment