login
A037485
Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 1,2.
0
1, 10, 81, 650, 5201, 41610, 332881, 2663050, 21304401, 170435210, 1363481681, 10907853450, 87262827601, 698102620810, 5584820966481, 44678567731850, 357428541854801, 2859428334838410
OFFSET
1,2
FORMULA
a(n) = 8*a(n-1) + a(n-2) - 8*a(n-3).
G.f.: x*(1+2*x)/((1-8*x)*(1-x^2)). a(n) = (20*8^n+7*(-1)^n-27)/126. - Bruno Berselli, Jan 20 2011
CROSSREFS
Sequence in context: A154236 A095004 A037541 * A343276 A363559 A350503
KEYWORD
nonn,base,easy
STATUS
approved