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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010885 Period 6: repeat [1, 2, 3, 4, 5, 6]. 3
1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 1, 2, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

Partial sums are given by A130484(n)+n+1. - Hieronymus Fischer, Jun 08 2007

41152/333333 = 0.123456123456123456... [Eric Desbiaux, Nov 03 2008]

Terms of the simple continued fraction of 75/(4*sqrt(4171)-206). [Paolo P. Lava, Feb 16 2009]

LINKS

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

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

FORMULA

a(n) = 1 + (n mod 6). - Paolo P. Lava, Nov 21 2006

a(n) = A010875(n)+1. G.f.: g(x)=(Sum_{0<=k<6} (k+1)*x^k)/(1-x^6). Also g(x)=(6*x^7-7*x^6+1)/((1-x^6)*(1-x)^2). - Hieronymus Fischer, Jun 08 2007

From Wesley Ivan Hurt, Jun 17 2016: (Start)

G.f.: (1+2*x+3*x^2+4*x^3+5*x^4+6*x^5)/(1-x^6).

a(n) = (21-3*cos(n*Pi)-4*sqrt(3)*cos((1-4*n)*Pi/6)-12*sin((1+2*n)*Pi/6))/6.

a(n) = a(n-6) for n>5. (End)

MAPLE

A010885:=n->(21-3*cos(n*Pi)-4*sqrt(3)*cos((1-4*n)*Pi/6)-12*sin((1+2*n)*Pi/6))/6: seq(A010885(n), n=0..100); # Wesley Ivan Hurt, Jun 17 2016

MATHEMATICA

Flatten[Table[Range[6], {n, 15}]] (* Harvey P. Dale, Aug 01 2011 *)

PROG

(MAGMA) &cat[[1..6]: n in [0..20]]; // Wesley Ivan Hurt, Jun 17 2016

CROSSREFS

Cf. A010872, A010873, A010874, A010875, A010876, A004526, A002264, A002265, A002266.

Cf. A177158 (decimal expansion of (103+2*sqrt(4171))/162). [From Klaus Brockhaus, May 03 2010]

Sequence in context: A277545 A190596 A053842 * A234533 A053828 A033927

Adjacent sequences:  A010882 A010883 A010884 * A010886 A010887 A010888

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 21 07:18 EST 2018. Contains 299390 sequences. (Running on oeis4.)