A238366 a(n) = 5*a(n-2) + 2, a(0) = 1, a(1) = 2.
1, 2, 7, 12, 37, 62, 187, 312, 937, 1562, 4687, 7812, 23437, 39062, 117187, 195312, 585937, 976562, 2929687, 4882812, 14648437, 24414062, 73242187, 122070312, 366210937, 610351562, 1831054687, 3051757812, 9155273437, 15258789062, 45776367187, 76293945312
Offset: 0
Links
- Harvey P. Dale, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (1,5,-5).
Programs
-
Mathematica
LinearRecurrence[{1,5,-5},{1,2,7},40] (* Harvey P. Dale, Jul 18 2024 *)
Comments