login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A090431 Difference between sums of digits of n and n-th prime. 9
-1, -1, -2, -3, 3, 2, -1, -2, 4, -10, -2, -7, -1, -2, -5, -1, -6, 2, -3, -6, -7, -12, -6, -11, -9, 6, 5, 2, 1, -2, -6, 0, -5, -6, -6, 2, -3, 1, -2, -7, -12, -4, -4, -5, -8, -9, 7, 5, 2, -8, -2, -7, 1, 1, -4, 0, -5, 3, -2, -5, -6, -6, -1, 5, 4, 1, 6, 1, 1, -9, -3, -8, -6, -2 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

a(n) = A007953(n) - A007605(n);

a(A033549(n))=a(A049084(A033548(n)))=0; a(A049084(A090432(n)))<0; a(A049084(A090433(n)))>0.

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..10000

PROG

(Haskell)

a090431 n = a007953 n - a007605 n  -- Reinhard Zumkeller, Mar 16 2014

CROSSREFS

Cf. A239324 (partial sums).

Sequence in context: A038529 A176259 A132312 * A107336 A282013 A275299

Adjacent sequences:  A090428 A090429 A090430 * A090432 A090433 A090434

KEYWORD

sign,base

AUTHOR

Reinhard Zumkeller, Dec 01 2003

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 11 21:20 EST 2019. Contains 329937 sequences. (Running on oeis4.)