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!)
A037514 Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 2,0,1. 1
2, 10, 51, 257, 1285, 6426, 32132, 160660, 803301, 4016507, 20082535, 100412676, 502063382, 2510316910, 12551584551, 62757922757, 313789613785, 1568948068926, 7844740344632, 39223701723160, 196118508615801, 980592543079007 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
G.f.: x*(2+x^2) / ( (x-1)*(5*x-1)*(1+x+x^2) ). - R. J. Mathar, Nov 21 2011
a(n) = 5*a(n-1)+a(n-3)-5*a(n-4). - Vincenzo Librandi, May 31 2013
MATHEMATICA
CoefficientList[Series[(2 + x^2) / ((x - 1) (5 x - 1) (1 + x + x^2)), {x, 0, 30}], x] (* Vincenzo Librandi, May 31 2013 *)
PROG
(Magma) I:=[2, 10, 51, 257]; [n le 4 select I[n] else 5*Self(n-1)+Self(n-3)-5*Self(n-4): n in [1..30]]; // Vincenzo Librandi, May 31 2013
CROSSREFS
Sequence in context: A306336 A074140 A128449 * A037717 A019476 A019475
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 April 25 07:41 EDT 2024. Contains 371964 sequences. (Running on oeis4.)