login
A135371
a(n) = prime(3^(n + 1)) - prime(3^n).
3
3, 18, 80, 316, 1124, 3976, 13770, 46398, 155174, 512700, 1679218, 5454768, 17617664, 56578816, 180896064, 576041630, 1827788446, 5781493590, 18236550884, 57379347420, 180130119286, 564319058202, 1764618506934, 5508483994106, 17168384214168, 53431296170784
OFFSET
0,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 0..35 (calculated from the b-file at A038833)
FORMULA
a(n) = A038833(n+1) - A038833(n). - Jinyuan Wang, Nov 14 2020
MATHEMATICA
Table[Prime[3^(n + 1)] - Prime[3^n], {n, 0, 26}]
PROG
(PARI) a(n) = prime(3^(n + 1)) - prime(3^n); \\ Michel Marcus, Nov 15 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Marvin Ray Burns, Dec 09 2007
EXTENSIONS
a(23)-a(25) from Jinyuan Wang, Nov 14 2020
STATUS
approved