login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A037491 Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 2,1. 0
2, 13, 80, 481, 2888, 17329, 103976, 623857, 3743144, 22458865, 134753192, 808519153, 4851114920, 29106689521, 174640137128, 1047840822769, 6287044936616, 37722269619697, 226333617718184, 1358001706309105 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = 6a(n-1) + a(n-2) - 6a(n-3).
G.f.: x*(2+x) / ( (x-1)*(6*x-1)*(1+x) ). - R. J. Mathar, Nov 21 2011
MATHEMATICA
Module[{nn=20, d}, d=PadRight[{}, nn, {2, 1}]; Table[FromDigits[Take[d, n], 6], {n, nn}]] (* or *) LinearRecurrence[{6, 1, -6}, {2, 13, 80}, 20] (* Harvey P. Dale, Feb 26 2015 *)
CROSSREFS
Sequence in context: A037555 A135167 A271475 * A037571 A179237 A216316
KEYWORD
nonn,base,easy
AUTHOR
EXTENSIONS
An incorrect recurrence was deleted by N. J. A. Sloane, Sep 13 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 11:39 EDT 2024. Contains 371969 sequences. (Running on oeis4.)