login
Primes p such that p-1 is not a multiple of 3, 4 or 5.
1

%I #10 Apr 13 2019 09:44:07

%S 2,3,23,47,59,83,107,167,179,227,239,263,347,359,383,419,443,467,479,

%T 503,563,587,599,647,659,683,719,743,827,839,863,887,947,983,1019,

%U 1103,1163,1187,1223,1259,1283,1307,1319,1367,1427,1439,1487,1499,1523,1559

%N Primes p such that p-1 is not a multiple of 3, 4 or 5.

%H Harvey P. Dale, <a href="/A120366/b120366.txt">Table of n, a(n) for n = 1..1000</a>

%F ((p-1) mod 3) > 0, ((p-1) mod 4) > 0, ((p-1) mod 5) > 0.

%e 347 is a term because none of 3, 4, 5 is a factor of 347 - 1 = 346.

%t Select[Prime[Range[300]],FreeQ[Mod[#-1,{3,4,5}],0]&] (* _Harvey P. Dale_, Apr 13 2019 *)

%K nonn

%O 1,1

%A _Zak Seidov_, Sep 13 2006