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.

A380052 a(n) is the largest number whose cube is an n-digit cube which has the maximum sum of digits (A373727(n)).

This page as a plain text file.
%I A380052 #23 Apr 03 2025 14:59:21
%S A380052 2,4,9,19,46,92,208,453,942,1966,4289,9949,12599,43795,99829,215083,
%T A380052 446423,989353,2131842,4081435,9850783,20714797,43967926,92827483,
%U A380052 190349299,464110759,989554129,2132590453,4559677342,9654499999,21253161559,31037622999,99594689449,181610950229
%N A380052 a(n) is the largest number whose cube is an n-digit cube which has the maximum sum of digits (A373727(n)).
%e A380052 For n=7, among cubes which are 7 digits long the maximum sum of digits is A373727(7) = 46 and this is attained by 3 cubes, the largest of which is 208^3 = 8998912 so that a(7) = 208.
%t A380052 Table[SortBy[Map[{#, Total@IntegerDigits[#^3]} &,
%t A380052      Range[Ceiling@CubeRoot[10^(n - 1)], CubeRoot[10^n - 1]]],
%t A380052     Last][[-1]][[1]], {n, 18}]
%o A380052 (C) /* See A373727. */
%Y A380052 Cf. A373727, A379869.
%Y A380052 Other powers: A379298, A380797, A380566, A380193.
%K A380052 nonn,base
%O A380052 1,1
%A A380052 _Zhining Yang_, Jan 11 2025