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.

A024930 a(n) = sum of remainders of n mod 1,3,5,...,2k-1, where k = [ (n+1)/2 ].

This page as a plain text file.
%I A024930 #8 May 14 2019 09:44:56
%S A024930 0,0,0,1,2,1,3,6,6,5,9,11,16,15,13,20,27,23,31,35,34,33,43,51,57,56,
%T A024930 56,62,75,66,80,95,96,95,99,104,121,120,122,136,155,144,164,174,163,
%U A024930 162,184,204,220,214,218,230,255,242,252,272,277,276,304,310,339,338,328,359,372,357
%N A024930 a(n) = sum of remainders of n mod 1,3,5,...,2k-1, where k = [ (n+1)/2 ].
%H A024930 Robert Israel, <a href="/A024930/b024930.txt">Table of n, a(n) for n = 1..10000</a>
%F A024930 a(n) = A093005(n) - A078471(n). - _Robert Israel_, May 13 2019
%p A024930 A093005:= [seq(n*ceil(n/2),n=1..100)]:
%p A024930 A078471:= ListTools:-PartialSums([seq(numtheory:-sigma(n/2^padic:-ordp(n,2)),n=1..100)]):
%p A024930 A093005-A078471; # _Robert Israel_, May 13 2019
%Y A024930 Cf. A078471, A093005.
%K A024930 nonn
%O A024930 1,5
%A A024930 _Clark Kimberling_