OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MAPLE
a := []; for i from 2 to 1000 do p := ithprime(i); t1 := factorset(p-1); q := t1[nops(t1)]; if q^4 >= p^3 and q < (p-1)/2 then a := [op(a), p]; fi; od:
MATHEMATICA
pfQ[n_]:=Module[{pfs=Transpose[FactorInteger[n-1]][[1]]}, MemberQ[((n-1)/2>#>n^(3/4))&/@pfs, True]]; Select[Prime[Range[500]], pfQ] (* Harvey P. Dale, Jan 09 2016 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Aug 23 2002
STATUS
approved