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!)
A164518 Primes of the form A162143(k) + 2. 4
11027, 65027, 74531, 119027, 184043, 308027, 314723, 370883, 423803, 603731, 783227, 804611, 815411, 915851, 938963, 1238771, 1279163, 1461683, 1490843, 1535123, 1550027, 1718723, 2556803, 2673227, 2812331, 3059003, 3493163 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Primes of the form 2 + q^2*r^2*s^2 where q, r, and s are three distinct primes.
LINKS
EXAMPLE
a(1) = 11027 = A000040(1337) = A162143(7) + 2.
MAPLE
N:= 10^7: # to get all terms <= N
P:= select(isprime, [seq(i, i=3..floor(sqrt(N-2)/15))]):
R:= NULL:
for i from 1 to nops(P) do
for j from 1 to i-1 while (3*P[i]*P[j])^2<=N-2 do
for k from 1 to j-1 do
p:= (P[i]*P[j]*P[k])^2+2;
if p > N then break fi;
if isprime(p) then R:= R, p fi
od od od:
sort([R]); # Robert Israel, Jun 05 2018
MATHEMATICA
f[n_]:=FactorInteger[n][[1, 2]]==2&&Length[FactorInteger[n]]==3&&FactorInteger[n][[2, 2]]==2&&FactorInteger[n][[3, 2]]==2; lst={}; Do[p=Prime[n]; If[f[p-2], AppendTo[lst, p]], {n, 4, 9!}]; lst
With[{nn=30}, Take[Union[Select[Times@@(#^2)+2&/@Subsets[Prime[ Range[ nn]], {3}], PrimeQ]], nn]] (* Harvey P. Dale, Mar 14 2016 *)
CROSSREFS
Sequence in context: A239828 A156942 A325311 * A198208 A139409 A233789
KEYWORD
nonn
AUTHOR
EXTENSIONS
Edited by R. J. Mathar, Aug 21 2009
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 April 25 06:14 EDT 2024. Contains 371964 sequences. (Running on oeis4.)