login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010712 Period 2: repeat (4,7). 5
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

Table of n, a(n) for n=0..80.

Index entries for linear recurrences with constant coefficients, signature (0,1).

FORMULA

a(n)=-3/2*(-1)^n+11/2 =7*(n mod 2)+4*[(n+1) mod 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

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

CROSSREFS

Sequence in context: A195362 A106739 A112677 * A259499 A254398 A081884

Adjacent sequences:  A010709 A010710 A010711 * A010713 A010714 A010715

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane.

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 19 08:23 EDT 2019. Contains 325155 sequences. (Running on oeis4.)