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.

A099068 Numbers n such that n=P(d_1)*P(d_2)*...*P(d_k)+(P(d_1)+P(d_2)+...+P(d_k)) where d_1 d_2 ... d_k is the decimal expansion of n and P(i) is the i-th prime.

Original entry on oeis.org

23, 119, 428, 918, 1637682, 652827658771
Offset: 1

Views

Author

Farideh Firoozbakht, Oct 29 2004

Keywords

Comments

There is no other term up to 15000000.
a(7) > 10^12. [Donovan Johnson, Mar 26 2010]
There are no other terms < 10^44. - Chai Wah Wu, Aug 12 2017

Examples

			1637682 is in the sequence because 1637682=
P(1)*P(6)*P(3)*P(7)*P(6)*P(8)*P(2)+(P(1)+P(6)+P(3)+P(7)+P(6)+P(8)+P(2)).
		

Crossrefs

Programs

  • Mathematica
    Do[h=IntegerDigits[n];l=Length[h];If[ !MemberQ[h, 0]&&n==Product[Prime[h[[k]]], {k, l}]+Sum[Prime[h[[k]]], {k, l}], Print[n]], {n, 15000000}]

Extensions

Definition corrected by D. S. McNeil, Mar 14 2009
a(6) from Donovan Johnson, Mar 26 2010

A099069 Numbers n such that n = prime(d_1*d_2*...*d_k) - phi(d_1 + d_2 + ... + d_k) where d_1 d_2 ... d_k is the decimal expansion of n.

Original entry on oeis.org

1, 2, 3, 19, 35497
Offset: 1

Views

Author

Farideh Firoozbakht, Oct 29 2004

Keywords

Comments

Sequence is finite since prime(d_1*d_2*...*d_k) <= prime(9^k) <= 9^k(k log 9 + log k + log log 9) < 10^(k-1) for large enough k, i.e., it will have fewer than k digits. In particular, a(n) < 10^69. - Chai Wah Wu, Aug 10 2017

Examples

			35497 is in the sequence because 35497 = prime(3*5*4*9*7) - phi(3 + 5 + 4 + 9 + 7).
		

Crossrefs

Programs

  • Mathematica
    Do[h=IntegerDigits[n];l=Length[h];If[ !MemberQ[h, 0]&&n==Prime[Product[h[[k]], {k, l}]]-EulerPhi[Sum[h[[k]], {k, l}]], Print[n]], {n, 6000000}]
Showing 1-2 of 2 results.