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!)
A037639 Base 4 digits are, in order, the first n terms of the periodic sequence with initial period 2,3,1. 1
2, 11, 45, 182, 731, 2925, 11702, 46811, 187245, 748982, 2995931, 11983725, 47934902, 191739611, 766958445, 3067833782, 12271335131, 49085340525, 196341362102, 785365448411, 3141461793645, 12565847174582, 50263388698331 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
G.f.: x*(x+2)*(1+x) / ( (x-1)*(4*x-1)*(1+x+x^2) ). - R. J. Mathar, Nov 21 2011
a(n) = 4*a(n-1) + a(n-3) - 4*a(n-4). - Vincenzo Librandi, Jun 17 2012
MATHEMATICA
LinearRecurrence[{4, 0, 1, -4}, {2, 11, 45, 182}, 40] (* Vincenzo Librandi, Jun 17 2012 *)
PROG
(Magma) I:=[2, 11, 45, 182]; [n le 4 select I[n] else 4*Self(n-1)+Self(n-3)-4*Self(n-4): n in [1..30]]; // Vincenzo Librandi, Jun 17 2012
CROSSREFS
Sequence in context: A209604 A120279 A037751 * A319428 A000176 A042927
KEYWORD
nonn,base
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 2 04:48 EDT 2024. Contains 372178 sequences. (Running on oeis4.)