A273798 Numbers of the form 2^m*p where p is prime and p < 2^m.
8, 12, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 176, 192, 208, 224, 256, 320, 352, 384, 416, 448, 512, 544, 608, 640, 704, 736, 768, 832, 896, 928, 992, 1024, 1088, 1216, 1280, 1408, 1472, 1536, 1664, 1792, 1856, 1984, 2048, 2176, 2368, 2432, 2560, 2624, 2752, 2816, 2944, 3008, 3072
Offset: 1
Keywords
Links
- Robert G. Wilson v, Table of n, a(n) for n = 1..1000
Crossrefs
Cf. A116882.
Programs
-
Mathematica
f[n_] := Block[{p = Prime@ Range@ PrimePi[2^n - 1]}, 2^n* p]; Take[ Sort@ Flatten@ Array[f, 10], 57]
-
PARI
isok(n) = my(m = valuation(n, 2)); (isprime(p=n/2^m) && (p < 2^m)) || ((m > 2) && (n==2^m)); \\ Michel Marcus, Aug 31 2016
Comments