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.

A368817 Sum of the refactorable numbers less than n that do not divide n.

This page as a plain text file.
%I A368817 #4 Jan 06 2024 22:35:55
%S A368817 0,0,2,0,2,0,2,0,10,17,19,17,31,29,31,21,31,20,49,47,49,47,49,27,73,
%T A368817 71,64,71,73,71,73,63,73,71,73,32,109,107,109,99,149,147,149,147,140,
%U A368817 147,149,103,149,147,149,147,149,120,149,139,205,203,205,191,265,263
%N A368817 Sum of the refactorable numbers less than n that do not divide n.
%F A368817 a(n) = Sum_{k=1..n} k * c(k) * (ceiling(n/k) - floor(n/k)), where c = A336040.
%e A368817 a(15) = 31. There are 4 refactorable numbers that are less than 15 that do not divide 15, namely: 2, 8, 9, 12. Their sum is 2 + 8 + 9 + 12 = 31.
%t A368817 Table[Sum[k (1 - Ceiling[k/DivisorSigma[0, k]] + Floor[k/DivisorSigma[0, k]]) (Ceiling[n/k] - Floor[n/k]), {k, n}], {n, 100}]
%Y A368817 Cf. A033950, A336040, A368572.
%K A368817 nonn,easy
%O A368817 1,3
%A A368817 _Wesley Ivan Hurt_, Jan 06 2024