OFFSET
1,1
COMMENTS
Absolute terms are the same as A042939.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
Table[With[{id=IntegerDigits[Prime[n]]}, id[[1]]-Total[Rest[id]]], {n, 60}] (* Harvey P. Dale, Oct 04 2024 *)
PROG
(PARI) a(n) = {digs = digits(prime(n)); digs[1] - sum(i=2, #digs, digs[i]); } \\ Michel Marcus, Aug 30 2013
CROSSREFS
KEYWORD
sign,base,less
AUTHOR
Dario Piazzalunga, Dec 27 2012
EXTENSIONS
a(38) corrected by Michel Marcus, Jun 14 2022
STATUS
approved