OFFSET
1,1
COMMENTS
See A187950.
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000
EXAMPLE
A187975(n) is the position of the n-th 1 in the titular sequence (s(n)), which begins with 0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0.
MATHEMATICA
r=2^(1/2);
seqA=Table[Floor[(n+5)r]-Floor[n*r]-Floor[5r], {n, 1, 220}]
Flatten[Position[seqA, 0] ]
Flatten[Position[seqA, 1] ] (* A187975 *)
PROG
(Python)
from gmpy2 import isqrt
A187975_list = [n for n in range(1, 10**6) if isqrt(2*(n+5)**2) - isqrt(2*n**2) == 8] # Chai Wah Wu, Oct 08 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Mar 17 2011
STATUS
approved