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!)
A010729 a(n) = 8 - (-1)^n. 6
7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7, 9, 7 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
Period 2.
a(n+1) = A173512(n+1) - A173512(n). - Reinhard Zumkeller, Feb 20 2010
G.f.: ( -7-9*x ) / ( (x-1)*(1+x) ). - R. J. Mathar, Nov 20 2011
E.g.f.: 7*cosh(x) + 9*sinh(x). - Stefano Spezia, Sep 27 2023
MATHEMATICA
PadRight[{}, 100, {7, 9}] (* Harvey P. Dale, May 09 2012 *)
PROG
(PARI) a(n)=8-(-1)^n \\ Charles R Greathouse IV, Jun 11 2015
CROSSREFS
Sequence in context: A199742 A258112 A076668 * A340220 A182688 A342571
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 July 18 13:04 EDT 2024. Contains 374378 sequences. (Running on oeis4.)