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-2 of 2 results.

A065774 Numbers k such that the product of the digits of k is equal to the sum of the prime factors of k, counted with multiplicity.

Original entry on oeis.org

2, 3, 4, 5, 7, 18, 25, 154, 329, 418, 442, 532, 1519, 1826, 2354, 2472, 2781, 3383, 4343, 4712, 5282, 5561, 6171, 6623, 7922, 9331, 9911, 11248, 12328, 12773, 13125, 14193, 15194, 16512, 17267, 19852, 21479, 24516, 26522, 31816, 32661, 36512
Offset: 1

Views

Author

Jason Earls, Dec 04 2001

Keywords

Crossrefs

Programs

  • Mathematica
    Select[Range[2, 10^5], Times @@ IntegerDigits @ # == Plus @@ Times @@@ FactorInteger @ # &] (* Giovanni Resta, Apr 23 2017 *)
  • PARI
    ProdD(x)= { local(p=1); while (x>9 && p>0, p*=(x-10*(x\10)); x\=10); return(p*x) }
    sopfr(n)= { local(f,s=0); f=factor(n); for(i=1, matsize(f)[1], s+=f[i, 1]*f[i, 2]); return(s) }
    { n=0; for (m=1, 10^9, if (ProdD(m) == sopfr(m), write("b065774.txt", n++, " ", m); if (n==400, return)) ) } \\ Harry J. Smith, Oct 30 2009

Extensions

Offset changed from 0 to 1 by Harry J. Smith, Oct 30 2009

A125309 Numbers n such that twice the sum of the prime factors of n equals the product of the digits of n.

Original entry on oeis.org

4, 25, 76, 125, 187, 255, 437, 629, 1152, 1276, 1298, 1352, 1617, 1668, 2337, 3363, 3618, 4116, 4439, 5891, 6432, 8279, 11178, 13125, 14144, 14812, 14824, 18647, 22165, 22466, 23472, 24727, 24743, 25631, 26128, 32978, 37329, 42983, 48442
Offset: 1

Views

Author

Tanya Khovanova, Dec 10 2006

Keywords

Comments

Number of terms less than 10^n: 1, 3, 8, 22, 48, 103, 230, 611, ...; number of odd terms less than 10^n: 0, 1, 6, 12, 21, 51, 120, 331, ..., . - Robert G. Wilson v, Dec 12 2006

Examples

			Prime factors of 76 are 2 and 19; twice their sum is 42 which the product of 7 and 6 - the digits of 76.
		

Crossrefs

Similar to A067173 = numbers n such that the sum of the prime factors of n equals the product of the digits of n.

Programs

  • Mathematica
    Select[Range[2, 20000], Times @@ IntegerDigits[ # ] == 2 Plus @@ Transpose[FactorInteger[ # ]][[1]] &]

Extensions

More terms from Robert G. Wilson v, Dec 12 2006
Showing 1-2 of 2 results.