login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A164323 Numbers m such that m = prime(P) + phi(P), where P is the product of the digits of m. 3
15, 383, 629, 8297 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The product of the digits of next term (if it exists) is greater than 2*10^8.
The sequence is finite since prime(P) ~= P*log(P) and phi(P) < P, while n > 10^(log_9(P)) - 1 > P^1.047. - Max Alekseyev, Dec 14 2011
By computation, any further terms must have P > 10^17. By applying the inequalities p_k < k * (log(k) + log(log(k))) and P < 9^(1 + log_10(n/9)) to the defining equation, any further terms must have m < 1.29 * 10^45. - Lucas A. Brown, Jun 20 2023
LINKS
Lucas A. Brown, Python program.
EXAMPLE
8297 = prime(8*2*9*7) + phi(8*2*9*7), so 8297 is in the sequence.
MATHEMATICA
Do[If[n=Prime[m]+Eulerphi[m]; m==Apply[Times, IntegerDigits[n]], Print[n]],
{m, 200000000}]
pdnQ[n_]:=Module[{p=Times@@IntegerDigits[n]}, If[p>0, n==Prime[p]+ EulerPhi[ p], 0]]; Select[Range[8300], pdnQ] (* Harvey P. Dale, Aug 12 2022 *)
CROSSREFS
Sequence in context: A035274 A324415 A145409 * A129615 A286139 A069990
KEYWORD
base,more,nonn,fini
AUTHOR
Farideh Firoozbakht, Aug 13 2009
EXTENSIONS
Keyword fini added by Max Alekseyev, Dec 14 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 1 11:07 EDT 2024. Contains 373915 sequences. (Running on oeis4.)