OFFSET
1,1
COMMENTS
The semiprimes that set new records in A175013. New records of digit sums of 4, 6, 9, 11, 12, 13, 15, 16, 17,.. are set by the semiprimes 4, 6, 9, 38, 39, 49, 69,...
LINKS
K. D. Bajpai, Table of n, a(n) for n = 1..64
EXAMPLE
a(4) = 38 = 2 * 19, which is a semiprime with sum of digits = 3 + 8 = 11.
a(5) = 39 = 3 * 13, which is a semiprime with sum of digits = 3 + 9 = 12. Since 12 > 11, 38 and 39 are in list.
MATHEMATICA
t = {}; s = 0; Do[If[(x = Total[IntegerDigits[n]]) > s && PrimeOmega[n] == 2, AppendTo[t, n]; s = x], {n, 1000000}]; t
DeleteDuplicates[{#, Total[IntegerDigits[#]]}&/@Select[Range[4*10^6], PrimeOmega[#] == 2&], GreaterEqual[ #1[[2]], #2[[2]]]&][[;; , 1]] (* Harvey P. Dale, Apr 12 2024 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
K. D. Bajpai, Jul 25 2015
STATUS
approved