|
|
A182589
|
|
Number of p-gons in cubic curve, where p = n-th prime.
|
|
2
|
|
|
8, 24, 216, 2376, 381672, 5163480, 1010595960, 14467313448, 3059511345864, 9938978525015640, 148764065249108232, 510526106263606993560, 117943982401534505983800, 1799331452450089752726504, 421426396352475869646014856, 1530747894615220749248821030680
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 8*(2^(p-2)+1)*(2^(p-1)-1)/p where p = n-th prime.
|
|
PROG
|
(PARI) a(n) = my(p=prime(n)); 8*(2^(p-2)+1)*(2^(p-1)-1)/p; \\ Michel Marcus, Dec 10 2014
(Magma) [8*(2^(p-2)+1)*(2^(p-1)-1)/p: p in PrimesUpTo(60)]; // Vincenzo Librandi, Dec 11 2014
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|