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!)
A037482 Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 1,2. 0
1, 7, 36, 182, 911, 4557, 22786, 113932, 569661, 2848307, 14241536, 71207682, 356038411, 1780192057, 8900960286, 44504801432, 222524007161, 1112620035807, 5563100179036, 27815500895182, 139077504475911, 695387522379557 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = 5a(n-1) + a(n-2) - 5a(n-3).
a(n) = (-1)^n/12 -3/8 +7*5^n/24. G.f. x*(1+2*x) / ( (x-1)*(5*x-1)*(1+x) ). - R. J. Mathar, Nov 02 2011
A007091(a(n)) = A037487(n). - R. J. Mathar, Apr 27 2015
PROG
(PARI) a(n)=([0, 1, 0; 0, 0, 1; -5, 1, 5]^(n-1)*[1; 7; 36])[1, 1] \\ Charles R Greathouse IV, Feb 13 2017
CROSSREFS
Sequence in context: A054493 A368575 A037538 * A147546 A333060 A331719
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 June 8 22:55 EDT 2024. Contains 373227 sequences. (Running on oeis4.)