A299795 Numbers of the form p*2^(p-1) where p is prime.
4, 12, 80, 448, 11264, 53248, 1114112, 4980736, 96468992, 7784628224, 33285996544, 2542620639232, 45079976738816, 189115999977472, 3307330976350208, 238690780250636288, 17005592192950992896, 70328211781017665536, 4943727411754159833088, 83822005070936202543104
Offset: 1
Keywords
Links
- G. C. Greubel, Table of n, a(n) for n = 1..460
Programs
-
Magma
[NthPrime(n)*2^(NthPrime(n) -1): n in [1..30]]; // G. C. Greubel, Mar 07 2018
-
Maple
Primes := select(isprime, [$1..71]): seq(p*2^(p-1), p in Primes);
-
Mathematica
Table[Prime[n]*2^(Prime[n] -1), {n,1,30}] (* G. C. Greubel, Mar 07 2018 *)
-
PARI
a(n) = my(p = prime(n)); p*2^(p-1); \\ Michel Marcus, Mar 07 2018