login
A037693
Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,0,3.
0
1, 11, 99, 894, 8047, 72425, 651825, 5866428, 52797853, 475180679, 4276626111, 38489635002, 346406715019, 3117660435173, 28058943916557, 252530495249016, 2272774457241145, 20454970115170307, 184094731036532763, 1656852579328794870, 14911673213959153831, 134205058925632384481
OFFSET
1,2
FORMULA
G.f.: ( x*(1+2*x+3*x^3) ) / ( (x-1)*(9*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Oct 11 2015
E.g.f.: (-160*cos(x) - 287*cosh(x) + 447*cosh(9*x) + 200*sin(x) - 943*sinh(x) + 447*sinh(9*x))/3280. - Stefano Spezia, Jul 27 2024
MATHEMATICA
Module[{nn=20, b9}, b9=PadRight[{}, nn, {1, 2, 0, 3}]; Table[FromDigits[ Take[ b9, n], 9], {n, nn}]] (* Harvey P. Dale, Feb 28 2016 *)
CROSSREFS
Sequence in context: A015671 A190870 A037510 * A098611 A090337 A287196
KEYWORD
nonn,base,easy
EXTENSIONS
a(18)-a(22) from Stefano Spezia, Jul 27 2024
STATUS
approved