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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A240752 First differences of digit sums of squares, cf. A004159. 5

%I

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

%T -4,7,-9,11,-5,-3,8,1,-6,-4,-2,9,2,4,-3,-10,1,3,-4,-2,0,2,4,6,-1,-8,3,

%U 5,-2,0,-7,4,6,8,-8,-6,5,7,-9,2,-5,-3,8,1,3,-4

%N First differences of digit sums of squares, cf. A004159.

%C a(n) = A007953(A000290(n+1)) - A007953(A000290(n)).

%C a(A202089(n)) = 0; a(A239878(n)) = 1; a(A240754(n)) = -1.

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

%F a(n) = A004159(n+1) - A004159(n).

%t Differences[Total[IntegerDigits[#]]&/@(Range[0,80]^2)] (* _Harvey P. Dale_, Mar 10 2019 *)

%o (Haskell)

%o a240752 n = a240752_list !! (n-1)

%o a240752_list = zipWith (-) (tail a004159_list) a004159_list

%K sign,base,changed

%O 1,2

%A _Reinhard Zumkeller_, Apr 12 2014

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 March 18 23:08 EDT 2019. Contains 321305 sequences. (Running on oeis4.)