[go: up one dir, main page]

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!)
A178507 Numbers n that (n^3 - 4,n^3 - 2) is a twin prime pair. 1
15, 201, 411, 477, 561, 1065, 1335, 1515, 1527, 1617, 2001, 2331, 2355, 2511, 2517, 2637, 2727, 2817, 3117, 3927, 4131, 4611, 4755, 4797, 5121, 5427, 5457, 5787, 6045, 6501, 6675, 7347, 7395, 8637, 9591, 9711, 10071, 10305, 10371, 10377, 10965, 11031 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
See A178506.
Necessarily n odd multiple of 3, LSD of n is e = 1, 5 or 7.
LINKS
EXAMPLE
p = 15^3 - 4 = 3371 = prime(475), p+2 = prime(476), 15 is first term.
p = 201^3 - 4 = 8120597 = prime(547310), p+2 = prime(547311), 201 is 2nd term.
p = 15915^3 - 4 = 4031066185871 = prime(i), i = 144036640497, p+2 = prime(i+1), 15915 is another term.
MATHEMATICA
Select[Range[12000], AllTrue[#^3-{4, 2}, PrimeQ]&] (* Harvey P. Dale, Jul 28 2024 *)
PROG
(PARI) is(n) = isprime(n^3-2) && isprime(n^3-4) \\ Michel Marcus, Jul 22 2013
CROSSREFS
Sequence in context: A048444 A002007 A207835 * A012566 A238992 A216465
KEYWORD
nonn
AUTHOR
Ulrich Krug (leuchtfeuer37(AT)gmx.de), May 29 2010
EXTENSIONS
Term 6045 added by Michel Marcus, Jul 22 2013
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 September 1 03:07 EDT 2024. Contains 375575 sequences. (Running on oeis4.)