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

 

Logo

Annual Appeal: Please make a donation to keep the OEIS running. In 2018 we replaced the server with a faster one, added 20000 new sequences, and reached 7000 citations (often saying "discovered thanks to the OEIS").
Other ways to donate

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

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

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 18 19:04 EST 2018. Contains 318243 sequences. (Running on oeis4.)