login
A140853
a(n) = prime(prime(n) - 1) - 1, where prime(n) is the n-th prime.
4
1, 2, 6, 12, 28, 36, 52, 60, 78, 106, 112, 150, 172, 180, 198, 238, 270, 280, 316, 348, 358, 396, 420, 456, 502, 540, 556, 576, 592, 612, 700, 732, 768, 786, 856, 862, 910, 952, 982, 1020, 1060, 1068, 1150, 1162, 1192, 1212, 1290, 1398, 1428, 1438, 1458
OFFSET
1,2
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A055003(n) - 1. - N. J. A. Sloane, Jul 31 2008
a(n) ~ n (log n)^2. - Charles R Greathouse IV, Apr 07 2015
MATHEMATICA
Table[Prime[Prime[n - 1] - 1] - 1, {n, 2, 60}] (* Vincenzo Librandi, Apr 05 2015 *)
PROG
(PARI) apply(p->prime(p-1)-1, primes(100))
CROSSREFS
Sequence in context: A166963 A188476 A155583 * A185961 A290674 A290419
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Corrected (382 replaced by 396) and extended by R. J. Mathar, Apr 27 2010
STATUS
approved