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!)
A028293 Period 7. 0
1, 2, 1, 3, 1, 2, 1, 1, 2, 1, 3, 1, 2, 1, 1, 2, 1, 3, 1, 2, 1, 1, 2, 1, 3, 1, 2, 1, 1, 2, 1, 3, 1, 2, 1, 1, 2, 1, 3, 1, 2, 1, 1, 2, 1, 3, 1, 2, 1, 1, 2, 1, 3, 1, 2, 1, 1, 2, 1, 3, 1, 2, 1, 1, 2, 1, 3, 1, 2, 1, 1, 2, 1, 3, 1, 2, 1, 1, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

Terms of the simple continued fraction of 106/[5*sqrt(493)-33]. [From Paolo P. Lava, Aug 05 2009]

LINKS

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

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

FORMULA

a(n)=1/147*{11*(n mod 7)+32*[(n+1) mod 7]-10*[(n+2) mod 7]+53*[(n+3) mod 7]-31*[(n+4) mod 7]+32*[(n+5) mod 7]-10*[(n+6) mod 7]} with n>=0 - Paolo P. Lava, Nov 27 2006

G.f.: -(x^2-x+1)*(x^4+3*x^3+3*x^2+3*x+1) / ( (x-1)*(1+x+x^2+x^3+x^4+x^5+x^6) ). - R. J. Mathar, Dec 15 2015

MATHEMATICA

PadRight[{}, 120, {1, 2, 1, 3, 1, 2, 1}] (* Harvey P. Dale, Apr 15 2020 *)

CROSSREFS

Sequence in context: A265578 A279288 A078734 * A092782 A119647 A228098

Adjacent sequences:  A028290 A028291 A028292 * A028294 A028295 A028296

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 11 07:57 EDT 2020. Contains 335626 sequences. (Running on oeis4.)