The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A187975 Positions of 1 in the zero-one sequence given by s(n)=[nr+5r]-[nr]-[5r], where r=sqrt(2), n>=1, [ ]=floor. 1
12, 24, 41, 53, 70, 82, 94, 111, 123, 140, 152, 164, 181, 193, 210, 222, 239, 251, 263, 280, 292, 309, 321, 333, 350, 362, 379, 391, 408, 420, 432, 449, 461, 478, 490, 502, 519, 531, 548, 560, 572, 589, 601, 618, 630, 647, 659, 671, 688, 700, 717, 729, 741, 758, 770, 787, 799, 816, 828, 840, 857, 869, 886, 898, 910, 927, 939, 956 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
See A187950.
LINKS
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
Cf. A187950.
Sequence in context: A053990 A026365 A051435 * A190566 A361856 A213739
KEYWORD
nonn
AUTHOR
Clark Kimberling, Mar 17 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 17 19:53 EDT 2024. Contains 372607 sequences. (Running on oeis4.)