login
A299795
Numbers of the form p*2^(p-1) where p is prime.
4
4, 12, 80, 448, 11264, 53248, 1114112, 4980736, 96468992, 7784628224, 33285996544, 2542620639232, 45079976738816, 189115999977472, 3307330976350208, 238690780250636288, 17005592192950992896, 70328211781017665536, 4943727411754159833088, 83822005070936202543104
OFFSET
1,1
LINKS
FORMULA
From Michel Marcus, Mar 07 2018: (Start)
a(n) = prime(n)*2^(prime(n)-1).
a(n) = A000040(n)*A061286(n).
a(n) = A001787(A000040(n)).
(End)
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 *)
PROG
(PARI) a(n) = my(p = prime(n)); p*2^(p-1); \\ Michel Marcus, Mar 07 2018
(Magma) [NthPrime(n)*2^(NthPrime(n) -1): n in [1..30]]; // G. C. Greubel, Mar 07 2018
CROSSREFS
A subsequence of A001787 and A300332.
Sequence in context: A244058 A165261 A027145 * A351736 A010370 A197852
KEYWORD
nonn
AUTHOR
Peter Luschny, Mar 03 2018
STATUS
approved