OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..460
FORMULA
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
KEYWORD
nonn
AUTHOR
Peter Luschny, Mar 03 2018
STATUS
approved