OFFSET
1,1
COMMENTS
Conjecture: k >= 2, each triple Tr(k) = {a(k), a(k+1), a(k+2)} gives the sides of an integer-sided triangle, and {(a(k+2) - a(k)), (a(k+2) - a(k+1)), (a(k+1) - a(k))} is a degenerate integer-sided triangle.
FORMULA
a(n) = #{floor(sqrt(k/Pi)) < n: n > 0, k > 0}.
PROG
(PARI) ap(n) = {my(x = 0, y = 1, ia = 1); while(y, if(n > sqrt(ia / Pi), x++; ia++, y = 0)); return(x)}
a(n) = {my(x = 0, y = 1, ia = 1); while(y, if(n > sqrt(ia / Pi), x++; ia++, y = 0)); return(x - ap(n-1))}
for(i = 1, 70, print1(a(i), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Torlach Rush, Oct 06 2020
STATUS
approved