The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A037758 Base 4 digits are, in order, the first n terms of the periodic sequence with initial period 3,0,1,2. 0
3, 12, 49, 198, 795, 3180, 12721, 50886, 203547, 814188, 3256753, 13027014, 52108059, 208432236, 833728945, 3334915782, 13339663131, 53358652524, 213434610097, 853738440390, 3414953761563, 13659815046252, 54639260185009 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
G.f.: x*(3+x^2+2*x^3) / ( (x-1)*(4*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, May 04 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {3, 0, 1, 2}], 4], {n, 30}] (* or *) LinearRecurrence[{4, 0, 0, 1, -4}, {3, 12, 49, 198, 795}, 30] (* Harvey P. Dale, May 05 2022 *)
CROSSREFS
Sequence in context: A323263 A344136 A248347 * A037646 A012772 A012864
KEYWORD
nonn,base,easy
AUTHOR
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 May 14 23:22 EDT 2024. Contains 372535 sequences. (Running on oeis4.)