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!)
A255362 Numbers n such that neither n nor n+1 is representable as x*y+x+y, where x>=y>1. 1
0, 1, 2, 3, 4, 5, 6, 9, 12, 21, 36, 45, 57, 60, 72, 81, 105, 156, 165, 177, 192, 225, 261, 276, 312, 345, 357, 381, 396, 420, 456, 465, 477, 501, 540, 561, 585, 612, 660, 672, 717, 732, 756, 837, 861, 876, 885, 981, 996, 1017, 1092, 1152, 1185, 1200, 1212, 1236, 1281 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Indices of double zeros in A255361.
LINKS
PROG
(Python)
TOP = 10000
a = [0]*TOP
for y in range(2, TOP//2):
for x in range(y, TOP//2):
k = x*y + x + y
if k>=TOP: break
a[k]+=1
print([n for n in range(TOP-1) if a[n]==0 and a[n+1]==0])
(PARI) iszero(n) = {for (y=2, n\2, for (x=y, n\2, if ((x*y+x+y) == n, return(0)); ); ); return (1); }
isok(n) = iszero(n) && iszero(n+1); \\ Michel Marcus, Feb 22 2015
CROSSREFS
Cf. A255361.
Sequence in context: A018123 A105859 A200445 * A017833 A114044 A351724
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, Feb 21 2015
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 26 05:37 EDT 2024. Contains 372807 sequences. (Running on oeis4.)