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!)
A037772 Base 4 digits are, in order, the first n terms of the periodic sequence with initial period 3,1,0,2. 1
3, 13, 52, 210, 843, 3373, 13492, 53970, 215883, 863533, 3454132, 13816530, 55266123, 221064493, 884257972, 3537031890, 14148127563, 56592510253, 226370041012, 905480164050, 3621920656203, 14487682624813, 57950730499252 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
G.f.: x*(3-2*x+2*x^2) / ( (x-1)*(4*x-1)*(x^2+1) ). - R. J. Mathar, May 02 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {3, 1, 0, 2}], 4], {n, 30}] (* or *) LinearRecurrence[{5, -5, 5, -4}, {3, 13, 52, 210}, 30] (* Harvey P. Dale, Dec 31 2016 *)
CROSSREFS
Cf. A007090 (numbers in base 4).
Sequence in context: A098619 A086608 A291182 * A037660 A122600 A063682
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 4 10:18 EDT 2024. Contains 372238 sequences. (Running on oeis4.)