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!)
A010725 Period 2: repeat (6,9). 2
6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6, 9, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
a(n) = -(3/2)*(-1)^n + 15/2. - Paolo P. Lava, Oct 27 2006
G.f.: ( -6-9*x ) / ( (x-1)*(1+x) ). - R. J. Mathar, Nov 21 2011
a(n) = 6 + 2^(1-(-1)^n) - 1. - Vincenzo Librandi, Feb 27 2020
MATHEMATICA
Table[6 + 3 Mod[n, 2], {n, 0, 50}] (* Jinyuan Wang, Feb 26 2020 *)
PROG
(PARI) a(n)=6+n%2*3 \\ Charles R Greathouse IV, Dec 21 2011
(Magma) &cat [[6, 9]^^50]; // Vincenzo Librandi, Feb 27 2020
CROSSREFS
Cf. A176402.
Sequence in context: A159691 A118947 A023410 * A193594 A011480 A283743
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 10 15:26 EDT 2024. Contains 372387 sequences. (Running on oeis4.)