OFFSET
0,5
LINKS
Tamás Lengyel and Diego Marques, The 2-adic Order of Some Generalized Fibonacci Numbers, INTEGERS, 17, 2017, A5.
Index entries for linear recurrences with constant coefficients, signature (1,1,1,1).
FORMULA
a(n+4) = a(n) + a(n+1) + a(n+2) + a(n+3).
MATHEMATICA
LinearRecurrence[Table[1, {4}], {0, 1, 1, 1}, 36] (* Michael De Vlieger, Dec 09 2014 *)
PROG
(J) (see www.jsoftware.com) First construct the generating matrix
[M=: (#.@}: + {:)\"1&.|: <:/~i.4
1 1 1 1
1 2 2 2
2 3 4 4
4 6 7 8
Given that matrix, one can produce the first 4*250 numbers with
, M(+/ . *)^:(i.250) 0 1 1 1x
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Arie Bos, Dec 06 2014
STATUS
approved