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!)
A129231 a(n)=Floor(n*r)-a(n-1), where r=2^(1/2). 2
0, 1, 1, 3, 2, 5, 3, 6, 5, 7, 7, 8, 8, 10, 9, 12, 10, 14, 11, 15, 13, 16, 15, 17, 16, 19, 17, 21, 18, 23, 19, 24, 21, 25, 23, 26, 24, 28, 25, 30, 26, 31, 28, 32, 30, 33, 32, 24, 33, 36, 34, 38, 35, 39, 37, 40, 39, 41, 41, 42, 42, 44, 43, 46, 44, 47, 46, 48, 48, 49, 49, 51, 50, 53 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

LINKS

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

FORMULA

a(n) = Floor(n*r)-Floor((n-1)*r)+Floor((n-2)*r)-...+d*Floor(r), where d=(-1)^(n+1) and r=2^(1/2).

CROSSREFS

Cf. A129229, A129232.

Sequence in context: A225411 A247815 A057953 * A166477 A124332 A295311

Adjacent sequences:  A129228 A129229 A129230 * A129232 A129233 A129234

KEYWORD

nonn

AUTHOR

Clark Kimberling, Apr 04 2007

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 September 19 10:47 EDT 2021. Contains 347556 sequences. (Running on oeis4.)