login
A037657
Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 3,0,2.
0
3, 24, 194, 1555, 12440, 99522, 796179, 6369432, 50955458, 407643667, 3261149336, 26089194690, 208713557523, 1669708460184, 13357667681474, 106861341451795, 854890731614360, 6839125852914882
OFFSET
1,1
FORMULA
G.f.: x*(3+2*x^2) / ( (x-1)*(8*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 30 2015
a(n) = 8*a(n-1) + a(n-3) - 8*a(n-4). - Wesley Ivan Hurt, May 24 2024
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {3, 0, 2}], 8], {n, 20}] (* Harvey P. Dale, Jan 19 2019 *)
CROSSREFS
Sequence in context: A037762 A037650 A037769 * A074580 A163473 A063979
KEYWORD
nonn,base,easy
STATUS
approved