OFFSET
1,6
FORMULA
PROG
(PARI) a(n) = my(pn = prime(n), digs = digits(pn)); abs(digs[1] - digs[#digs]); \\ Michel Marcus, Sep 27 2013
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
EXTENSIONS
Extended (and corrected) by Patrick De Geest, Jun 15 1999
STATUS
approved