A177220 Smallest numbers with properties: products of two distinct primes of the form a(k)=2^n*m-(2^n-1), n:0->k.
6, 26, 33, 247, 247, 634, 694, 11293, 31261, 31261, 173311, 173311, 2212801
Offset: 1
Keywords
Programs
-
Mathematica
f[n_]:=Last/@FactorInteger[n]=={1,1}; g[n_,m_]:=Module[{a=1,x,y,z},Do[x=2^k;y=x-1;z=x*n-y;If[ !f[z],a=0;Break[]],{k,0,m}];a]; q=0;e=5;lst={};Do[e++;If[g[e,q]==1,Print[e];AppendTo[lst,e];q++;e-- ],{n,0,4*10!}];lst
Comments