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!)
A010721 Period 2: repeat (5,10). 2
5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10, 5, 10 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
a(n) = -5/2*(-1)^n + 15/2. - Paolo P. Lava, Oct 27 2006
From R. J. Mathar, Oct 20 2008: (Start)
a(n) = 5*A000034(n).
G.f.: 5(1+2x)/((1-x)(1+x)). (End)
MATHEMATICA
Table[5 + 5 Mod[n, 2], {n, 0, 50}] (* Jinyuan Wang, Feb 26 2020 *)
PadRight[{}, 80, {5, 10}] (* Harvey P. Dale, Mar 18 2022 *)
PROG
(PARI) a(n)=n%2*5+5 \\ Charles R Greathouse IV, Jul 13 2016
CROSSREFS
Cf. A176325.
Sequence in context: A276652 A137404 A110643 * A046795 A337545 A229793
KEYWORD
nonn,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 17 17:07 EDT 2024. Contains 372603 sequences. (Running on oeis4.)