OFFSET
1,1
FORMULA
MAPLE
a:= ithprime@@3-ithprime@@2:
seq(a(n), n=1..56); # Alois P. Heinz, Nov 18 2024
MATHEMATICA
Nest[Prime, Range[100], 3] - PrimePi /@ Nest[Prime, Range[100], 3]
PROG
(PARI) a(n) = my(q=prime(prime(n))); prime(q) - q; \\ Michel Marcus, Nov 18 2024
CROSSREFS
KEYWORD
nonn,easy,new
AUTHOR
Sean M. Drury, Nov 17 2024
STATUS
approved