OFFSET
1
COMMENTS
See A188014.
FORMULA
a(n) = [nr]-[r]-[nr-r], where r=sqrt(5).
MATHEMATICA
PROG
(Python)
from sympy import integer_nthroot
def A188187(n): return integer_nthroot(5*n**2, 2)[0]-integer_nthroot(5*(n-1)**2, 2)[0]-2 # Chai Wah Wu, Mar 16 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Mar 23 2011
STATUS
approved