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.

Showing 1-1 of 1 results.

A257652 The semiprimes which set new records for the sum of their decimal digits.

Original entry on oeis.org

4, 6, 9, 38, 39, 49, 69, 169, 278, 289, 299, 489, 589, 689, 699, 799, 899, 2899, 3899, 4989, 5899, 5999, 6999, 7999, 9899, 19999, 29999, 48999, 58999, 68999, 69999, 88999, 99899, 299899, 398999, 589989, 589999, 689999, 798999, 889999, 899999, 2899999, 3899999
Offset: 1

Views

Author

K. D. Bajpai, Jul 25 2015

Keywords

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,...

Examples

			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.
		

Crossrefs

Subsequence of A213653.

Programs

  • 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 *)
Showing 1-1 of 1 results.