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!)
A010714 Period 2: repeat [4, 9]. 2
4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4, 9, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
G.f.: (4+9x)/((1-x)*(1+x)). - R. J. Mathar, Nov 21 2011
From Wesley Ivan Hurt, Dec 31 2023: (Start)
a(n) = a(n-2) for n>1 with a(0)=4, a(1)=9.
a(n) = (13-5*(-1)^n)/2. (End)
MATHEMATICA
Table[4 + 5 Mod[n, 2], {n, 0, 50}] (* Jinyuan Wang, Feb 26 2020 *)
PROG
(PARI) a(n)=4+n%2*5 \\ Charles R Greathouse IV, Dec 21 2011
CROSSREFS
Cf. A176219.
Sequence in context: A141653 A336051 A071793 * A284018 A089090 A204919
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 April 24 14:32 EDT 2024. Contains 371960 sequences. (Running on oeis4.)