A158758 Politest numbers.
4, 8, 9, 11, 13, 14, 15, 16, 18, 19, 21, 22, 23, 25, 26, 27, 29, 30, 31, 32, 33, 35, 36, 37, 39, 40, 41, 42, 43, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 57, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 71, 72, 73, 74, 75, 76, 77, 78, 79, 81, 82, 83, 84, 85, 86, 87, 89, 90
Offset: 1
Keywords
Programs
-
Mathematica
lst={};Do[p=m;If[Mod[2^p,p]!=0||p==1,Do[If[Mod[2^n,n]!=0,p+=n;AppendTo[lst,p]],{n,m+1,5!}]],{m,1,5!}];Take[Union[lst],5! ]
Comments