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!)
A010712 Period 2: repeat (4,7). 6
4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4, 7, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
a(n) = A047892(n+1) mod 9. - Reinhard Zumkeller, Sep 23 2007
Continued fraction expansion of A176217. - R. J. Mathar, Mar 08 2012
LINKS
FORMULA
a(n) = -(3/2)*(-1)^n + 11/2. - Paolo P. Lava, Oct 20 2006
a(n) = 3 + 4^(n mod 2). - Reinhard Zumkeller, Sep 23 2007
G.f.: (4+7x)/((1-x)(1+x)). - R. J. Mathar, Nov 21 2011
a(n) = 4 + 2^(1-(-1)^n) - 1. - Vincenzo Librandi, Feb 27 2020
MATHEMATICA
PadRight[{}, 120, {4, 7}] (* Harvey P. Dale, Nov 15 2012 *)
PROG
(PARI) a(n)=4+n%2*3 \\ Charles R Greathouse IV, Dec 21 2011
(Haskell)
a010712 = (+ 3) . (4 ^) . flip mod 2
a010712_list = cycle [4, 7] -- Reinhard Zumkeller, Mar 19 2014
(Magma) &cat [[4, 7]^^50]; // Vincenzo Librandi, Feb 27 2020
CROSSREFS
Sequence in context: A195362 A106739 A112677 * A259499 A254398 A081884
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 23 14:49 EDT 2024. Contains 371914 sequences. (Running on oeis4.)