OFFSET
1,1
COMMENTS
Politest numbers can be written as the sum of two or more consecutive polite numbers. 1,3,5,6,7,9,10,11,12,13,14,15,17,18,...Polite numbers. 4=1+3, 8=3+5, 9=1+3+5, 11=5+6, 13=6+7, 14=3+5+6, 15=1+3+5+6,...Politest numbers.
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! ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Mar 25 2009
STATUS
approved