login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A240436 Semiprimes of the form n^3 - 2*n. 2
4, 21, 115, 329, 2171, 6821, 24331, 50579, 79421, 103729, 226859, 357769, 704791, 1092521, 1224829, 2048129, 2247829, 2685341, 5177371, 6967489, 9393509, 11089121, 12648871, 13651441, 16974079, 25153171, 30663671, 38272079, 46267561, 74617619, 86937421, 90517951 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Intersection of A001358 and A242135.

Since n^3 - 2*n = n * (n^2 - 2), it follows that n and (n^2 - 2) both should be prime.

LINKS

K. D. Bajpai, Table of n, a(n) for n = 1..10545

FORMULA

a(n) = A062326(n) * (A062326(n)^2 - 2). - Michel Marcus, Aug 26 2014

EXAMPLE

a(2) = 21: 3^3 - 2*3 = 27 - 6 = 21 = 3 * 7, which is semiprime.

a(3) = 115: 5^3 - 2*5 = 125 - 10 = 115 = 5 * 23, which is semiprime.

MAPLE

select(k -> numtheory:-bigomega(k)=2, [seq((n^3-2*n), n=1..500)]);

MATHEMATICA

Select[Table[n^3 - 2*n, {n, 1000}], PrimeOmega[#] == 2 &]

PROG

(PARI) forprime(p=1, 10^3, q=p^2-2; if(isprime(q), print1(p*q, ", "))) \\ Derek Orr, Aug 17 2014

CROSSREFS

Cf. A001358, A062326, A242135, A062326.

Sequence in context: A127111 A270787 A190089 * A255139 A015554 A024051

Adjacent sequences:  A240433 A240434 A240435 * A240437 A240438 A240439

KEYWORD

nonn,easy

AUTHOR

K. D. Bajpai, Aug 17 2014

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 8 01:41 EST 2021. Contains 341934 sequences. (Running on oeis4.)