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.

A094175 Round( n / sum of digits of n ).

This page as a plain text file.
%I A094175 #21 Sep 07 2024 21:14:48
%S A094175 1,1,1,1,1,1,1,1,1,10,6,4,3,3,3,2,2,2,2,10,7,6,5,4,4,3,3,3,3,10,8,6,6,
%T A094175 5,4,4,4,3,3,10,8,7,6,6,5,5,4,4,4,10,9,7,7,6,6,5,5,4,4,10,9,8,7,6,6,6,
%U A094175 5,5,5,10,9,8,7,7,6,6,6,5,5,10,9,8,8,7,7,6,6,6,5,10,9,8,8,7,7,6,6,6,6,100,51,34,26,21,18,15,13,12,11,55,37,28,23,19,16,15,13,12,11,40
%N A094175 Round( n / sum of digits of n ).
%H A094175 Dominic McCarty, <a href="/A094175/b094175.txt">Table of n, a(n) for n = 1..10000</a>
%F A094175 a(n) = round(n/sumdigit(n)) where "round" is the rounded integer part of the division and "sumdigit" is the sum of the digits of the number.
%e A094175 a(15) = round(15/(1+5)) = round(2.5) = 3.
%e A094175 a(17) = round(17/(1+7)) = round(2.125) = 2.
%e A094175 a(62) = round(62/(6+2)) = round(7.75) = 8.
%t A094175 Table[Floor[n/Total[IntegerDigits[n]]+1/2],{n,120}] (* _Harvey P. Dale_, Nov 26 2016 *)
%Y A094175 Cf. A066578.
%K A094175 easy,nonn,base
%O A094175 1,10
%A A094175 _Paolo P. Lava_, May 06 2004
%E A094175 Corrected and extended by _Harvey P. Dale_, Nov 26 2016
%E A094175 Offset changed to 1 by _Georg Fischer_, Jun 14 2024