cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A090431 Difference between sums of digits of n and n-th prime.

This page as a plain text file.
%I A090431 #6 Mar 18 2014 04:56:57
%S A090431 -1,-1,-2,-3,3,2,-1,-2,4,-10,-2,-7,-1,-2,-5,-1,-6,2,-3,-6,-7,-12,-6,
%T A090431 -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 A090431 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 A090431 Difference between sums of digits of n and n-th prime.
%C A090431 a(n) = A007953(n) - A007605(n);
%C A090431 a(A033549(n))=a(A049084(A033548(n)))=0; a(A049084(A090432(n)))<0; a(A049084(A090433(n)))>0.
%H A090431 Reinhard Zumkeller, <a href="/A090431/b090431.txt">Table of n, a(n) for n = 1..10000</a>
%o A090431 (Haskell)
%o A090431 a090431 n = a007953 n - a007605 n  -- _Reinhard Zumkeller_, Mar 16 2014
%Y A090431 Cf. A239324 (partial sums).
%K A090431 sign,base
%O A090431 1,3
%A A090431 _Reinhard Zumkeller_, Dec 01 2003