login
A094175
Round( n / sum of digits of n ).
1
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, 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, 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
OFFSET
1,10
LINKS
FORMULA
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.
EXAMPLE
a(15) = round(15/(1+5)) = round(2.5) = 3.
a(17) = round(17/(1+7)) = round(2.125) = 2.
a(62) = round(62/(6+2)) = round(7.75) = 8.
MATHEMATICA
Table[Floor[n/Total[IntegerDigits[n]]+1/2], {n, 120}] (* Harvey P. Dale, Nov 26 2016 *)
CROSSREFS
Cf. A066578.
Sequence in context: A010171 A006518 A391385 * A383169 A193952 A158508
KEYWORD
easy,nonn,base
AUTHOR
Paolo P. Lava, May 06 2004
EXTENSIONS
Corrected and extended by Harvey P. Dale, Nov 26 2016
Offset changed to 1 by Georg Fischer, Jun 14 2024
STATUS
approved