login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A090431 Difference between sums of digits of n and n-th prime. 9

%I #6 Mar 18 2014 04:56:57

%S -1,-1,-2,-3,3,2,-1,-2,4,-10,-2,-7,-1,-2,-5,-1,-6,2,-3,-6,-7,-12,-6,

%T -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,

%U 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

%N Difference between sums of digits of n and n-th prime.

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

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

%H Reinhard Zumkeller, <a href="/A090431/b090431.txt">Table of n, a(n) for n = 1..10000</a>

%o (Haskell)

%o a090431 n = a007953 n - a007605 n -- _Reinhard Zumkeller_, Mar 16 2014

%Y Cf. A239324 (partial sums).

%K sign,base

%O 1,3

%A _Reinhard Zumkeller_, Dec 01 2003

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 07:33 EDT 2024. Contains 371235 sequences. (Running on oeis4.)