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!)
A037490 Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 2,1. 0
2, 11, 57, 286, 1432, 7161, 35807, 179036, 895182, 4475911, 22379557, 111897786, 559488932, 2797444661, 13987223307, 69936116536, 349680582682, 1748402913411, 8742014567057, 43710072835286, 218550364176432, 1092751820882161 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = 5a(n-1) + a(n-2) - 5a(n-3).
G.f.: x*(2+x) / ( (x-1)*(5*x-1)*(1+x) ). - R. J. Mathar, Nov 21 2011
a(n) = (11*5^n - 2*(-1)^n - 9)/24. - Stefano Spezia, Jul 21 2021
MATHEMATICA
With[{nn=30}, Table[FromDigits[PadRight[{}, n, {2, 1}], 5], {n, nn}]] (* or *) LinearRecurrence[{5, 1, -5}, {2, 11, 57}, 30] (* Harvey P. Dale, Jun 13 2016 *)
CROSSREFS
Sequence in context: A213098 A041129 A332524 * A037570 A240888 A120464
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 September 15 02:22 EDT 2024. Contains 375929 sequences. (Running on oeis4.)