OFFSET
1,1
COMMENTS
Apart from the first two terms, a(2n+1) = 11 mod 24 and a(2n) = 13 (mod 24). - Charles R Greathouse IV, Oct 12 2009
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..5000
EXAMPLE
179 and 181 are in the sequence because they are twin primes and 178 = 2*89, 180 = 2^2*3^2*5, 182 = 2*7*13 have no factors that are cubes.
MATHEMATICA
f[n_]:=Module[{a=m=0}, Do[If[FactorInteger[n][[m, 2]]>2, a=1], {m, Length[FactorInteger[n]]}]; a]; lst={}; Do[p=Prime[n]; r=p+2; If[PrimeQ[r], If[f[p-1]==0&&f[p+1]==0&&f[r+1]==0, AppendTo[lst, p]; AppendTo[lst, r]]], {n, 2*6!}]; lst
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Jul 15 2009
STATUS
approved