This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A062557 2n-1 1's followed by a 2. 2
 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,2 COMMENTS Is the number .12111211111211111112... irrational? LINKS FORMULA a(n) = 1 + A005369(n+1). - Wesley Ivan Hurt, May 26 2015 MAPLE A062557:=n->1+floor(sqrt(n+2)+1/2)-floor(sqrt(n+1)+1/2): seq(A062557(n), n=0..100); # Wesley Ivan Hurt, May 26 2015 MATHEMATICA Table[1 + Floor[Sqrt[n + 2] + 1/2] - Floor[Sqrt[n + 1] + 1/2], {n, 0, 100}] (* Wesley Ivan Hurt, May 26 2015 *) PROG (PARI) v=[]; for(n=0, 200, v=concat(v, 1+issquare(5+4*n))); v (MAGMA) [1+Floor(Sqrt(n+2)+1/2)-Floor(Sqrt(n+1)+1/2) : n in [0..100]]; // Wesley Ivan Hurt, May 26 2015 CROSSREFS Cf. A005369, A093178. Sequence in context: A299152 A113120 A154843 * A276438 A210960 A193509 Adjacent sequences:  A062554 A062555 A062556 * A062558 A062559 A062560 KEYWORD easy,nonn AUTHOR Jason Earls, Jul 02 2001 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.

Last modified October 21 05:02 EDT 2019. Contains 328291 sequences. (Running on oeis4.)