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!)
A360930 Odd numbers which cannot be expressed as p + q*(q-1) where p and q are primes. 2
1, 3, 41, 97, 135, 251, 255, 341, 363, 377, 405, 671, 737, 765, 1007, 1049, 1287, 1371, 1377, 1427, 1605, 1697, 1745, 1805, 2067, 2177, 2201, 2277, 2333, 2477, 2657, 2711, 3077, 3101, 3117, 3149, 3191, 3437, 3557, 3597, 3611, 3983, 4647, 4787, 4797, 5117 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
It is conjectured that 772277 is the largest odd integer which cannot be expressed as p + q*(q-1) where p and q are primes.
q*(q-1) is even which implies that p must be an odd prime.
The expression p + q*(q-1) resembles the expression p + 2*q used in Lemoine's conjecture.
LINKS
MATHEMATICA
a[1]=1; a[n_]:=a[n]=(k=a[n-1]; c=True; While[c, k=k+2; c=False; q=2; While[!c&&q*(q-1)<k, p=k-(q*(q-1)); c=PrimeQ[p]; q=NextPrime[q]]]; k); Table[a[n], {n, 1, 150}]
CROSSREFS
Sequence in context: A100765 A092168 A352605 * A229080 A289270 A262555
KEYWORD
easy,nonn
AUTHOR
Marc Ridders, Feb 25 2023
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 16 20:35 EDT 2024. Contains 372555 sequences. (Running on oeis4.)