login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A066306 Prime numbers such that sum of digits equals product of digits. 9
2, 3, 5, 7, 2141, 2411, 4211, 11251, 12511, 15121, 21221, 25111, 1112171, 1127111, 1172111, 1271111, 7112111, 11112811, 11128111, 11218111, 12111811, 12118111, 12181111, 18211111, 81111211, 81112111 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Chai Wah Wu, Table of n, a(n) for n = 1..8552

EXAMPLE

2141 = p[323], 2*1*4*1 = 8 = 2+1+4+1.

MATHEMATICA

f[n_] := IntegerDigits[ Prime[n]]; Prime[ Select[ Range[ PrimePi[10^10]], Apply[Plus, f[ # ]] == Apply[Times, f[ # ]] & ]]

PROG

(MAGMA) [NthPrime(n): n in [1..2*10^4] | &+Intseq(NthPrime(n)) eq &*Intseq(NthPrime(n))]; // Vincenzo Librandi, Nov 18 2015

CROSSREFS

Primes from A034710.

Cf. A000040, A061672, A066307.

Sequence in context: A090721 A224164 A224398 * A212667 A252357 A037948

Adjacent sequences:  A066303 A066304 A066305 * A066307 A066308 A066309

KEYWORD

nonn,base

AUTHOR

Labos Elemer, Dec 13 2001

EXTENSIONS

More terms from Robert G. Wilson v, Dec 27 2001

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 20 04:37 EDT 2019. Contains 328247 sequences. (Running on oeis4.)