OFFSET
1,1
FORMULA
a(n) = n + floor(1/2+(n/5+1/5)^(1/2)).
MATHEMATICA
Table[n+Floor[1/2+(n/5+1/5)^(1/2)], {n, 100}]
PROG
(Python)
from math import isqrt
def A183224(n): return n+(isqrt((n<<2|2)//5)+1>>1) # Chai Wah Wu, Oct 06 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jan 01 2011
STATUS
approved