The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A275704 Digital root of n + (n+1)^2. 1
1, 5, 2, 1, 2, 5, 1, 8, 8, 1, 5, 2, 1, 2, 5, 1, 8, 8, 1, 5, 2, 1, 2, 5, 1, 8, 8, 1, 5, 2, 1, 2, 5, 1, 8, 8, 1, 5, 2, 1, 2, 5, 1, 8, 8, 1, 5, 2, 1, 2, 5, 1, 8, 8, 1, 5, 2, 1, 2, 5, 1, 8, 8, 1, 5, 2, 1, 2, 5, 1, 8, 8, 1, 5, 2, 1, 2, 5, 1, 8, 8, 1, 5, 2, 1, 2, 5, 1, 8, 8, 1, 5, 2, 1, 2, 5, 1, 8, 8, 1, 5, 2, 1, 2, 5, 1, 8, 8, 1, 5, 2, 1, 2, 5, 1, 8, 8, 1, 5, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Period 9: repeat [1,5,2,1,2,5,1,8,8].
When expressed starting from the 9th term, i.e., 8,1,5,2,1,2,5,1,8,8,1,5,2,1,2,5,1,8, etc., the sequence is palindromic.
Decimal expansion is 50708396/333333333.
LINKS
FORMULA
a(n) = A010888(A028387(n)).
G.f.: ( -1 - 5*x - 2*x^2 - x^3 - 2*x^4 - 5*x^5 - x^6 - 8*x^7 - 8*x^8 ) / ( (x-1)*(1+x+x^2)*(x^6+x^3+1) ). - R. J. Mathar, Jan 07 2019
MATHEMATICA
Table[FixedPoint[Total@ IntegerDigits@ # &, n + (n + 1)^2], {n, 0, 120}] (* or *)
PadRight[{}, 120, {1, 5, 2, 1, 2, 5, 1, 8, 8}] (* Michael De Vlieger, Aug 07 2016 *)
CROSSREFS
Sequence in context: A238716 A280695 A243258 * A038631 A158625 A133615
KEYWORD
nonn,easy,base
AUTHOR
Peter M. Chema, Aug 05 2016
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 June 3 05:44 EDT 2024. Contains 373054 sequences. (Running on oeis4.)