login
A037601
Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 1,3,0.
0
1, 11, 88, 705, 5643, 45144, 361153, 2889227, 23113816, 184910529, 1479284235, 11834273880, 94674191041, 757393528331, 6059148226648, 48473185813185, 387785486505483, 3102283892043864
OFFSET
1,2
FORMULA
G.f.: x*(1+3*x) / ( (x-1)*(8*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 27 2015
A007094(a(n)) = A037603(n). - R. J. Mathar, Apr 27 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {1, 3, 0}], 8], {n, 20}] (* Harvey P. Dale, Apr 18 2020 *)
PROG
(PARI) a(n)=([0, 1, 0, 0; 0, 0, 1, 0; 0, 0, 0, 1; -8, 1, 0, 8]^(n-1)*[1; 11; 88; 705])[1, 1] \\ Charles R Greathouse IV, Feb 13 2017
CROSSREFS
Sequence in context: A346448 A173731 A224179 * A037706 A378567 A175605
KEYWORD
nonn,base,easy
STATUS
approved