OFFSET
1,2
LINKS
Adam Hugill, Table of n, a(n) for n = 1..10000
MATHEMATICA
PROG
(Python)
from math import floor, sqrt
r=4-sqrt(5)
h=-1/2
n=50 #number of terms
result = []
for i in range(1, n+1):
ans = floor(i*r+h)
result.append(ans)
print(result)
# Adam Hugill, Feb 23 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jan 20 2011
STATUS
approved