login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010723 Period 2: repeat (6,7). 2
6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

Continued fraction of 3 + sqrt(483)/7 = A176399. - R. J. Mathar, Nov 21 2011

LINKS

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

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

FORMULA

a(n) = -(1/2)*(-1)^n + 13/2 = 7*(n mod 2) + 6*[(n+1) mod 2]. - Paolo P. Lava, Oct 27 2006

G.f. (-6-7*x) / ( (x-1)*(1+x) ). - R. J. Mathar, Nov 21 2011

MATHEMATICA

Table[6 + Mod[n, 2], {n, 0, 50}] (* Jinyuan Wang, Feb 26 2020 *)

PROG

(PARI) a(n)=n%2+6 \\ Charles R Greathouse IV, Jul 13 2016

CROSSREFS

Sequence in context: A186282 A171909 A199079 * A244588 A336002 A223172

Adjacent sequences:  A010720 A010721 A010722 * A010724 A010725 A010726

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 June 18 18:04 EDT 2021. Contains 345120 sequences. (Running on oeis4.)