OFFSET
1,2
FORMULA
a(n) = n + floor(sqrt((n-1)/2)) = n + A339183(n-1). - Aaron J Grech, Jul 30 2024
MATHEMATICA
a=2; b=1;
F[n_]:=a*n^2+b*n;
R[n_]:=(n/a+((b-1)/(2a))^2)^(1/2);
G[n_]:=n-1+Ceiling[R[n]-(b-1)/(2a)];
Table[G[n], {n, 100}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jan 03 2011
STATUS
approved