OFFSET
1,3
COMMENTS
n appears 2 * ceiling(n/2) times.
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
FORMULA
From Robert Israel, Sep 12 2016: (Start)
a(n+1) = a(n)+1 for n in A007590, otherwise a(n+1) = a(n).
G.f.: x*Theta3(x^2)/(2*(1-x)) + sqrt(x)*Theta2(x^2)/(2*(1-x)) - x/(2*(1-x)), where Theta2 and Theta3 are Jacobi Theta functions. (End)
MAPLE
seq(floor(sqrt(2*n-1)), n=1..100); # Robert Israel, Sep 12 2016
MATHEMATICA
Table[Floor[Sqrt[2n-1]], {n, 100}] (* Mohammad K. Azarian, Jun 15 2016 *)
PROG
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, Mar 17 2005
EXTENSIONS
Edited by Franklin T. Adams-Watters, Apr 20 2010
New name from Wesley Ivan Hurt, Nov 26 2020
STATUS
approved