The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A185107 Difference of digits of n-th prime. 0
 2, 3, 5, 7, 0, -2, -6, -8, -1, -7, 2, -4, 3, 1, -3, 2, -4, 5, -1, 6, 4, -2, 5, -1, 2, 0, -2, -6, -8, -3, -8, -3, -9, -11, -12, -5, -11, -9, -12, -9, -15, -8, -9, -11, -15, -17, 0, -3, -7, -9, -4, -10, -3, -4, -10, -7, -13 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS Absolute terms are the same as A042939. Positive terms are digital difference of A028867. LINKS PROG (PARI) a(n) = {digs = digits(prime(n)); digs[1] - sum(i=2, #digs, digs[i]); } \\ Michel Marcus, Aug 30 2013 CROSSREFS Cf. A000040, A042939, A007605. Sequence in context: A020775 A041000 A042939 * A115259 A039709 A104250 Adjacent sequences:  A185104 A185105 A185106 * A185108 A185109 A185110 KEYWORD sign,base,less AUTHOR Dario Piazzalunga, Dec 27 2012 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified May 18 09:26 EDT 2021. Contains 343995 sequences. (Running on oeis4.)