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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A028842 Product of digits of n is a prime. 9

%I

%S 2,3,5,7,12,13,15,17,21,31,51,71,112,113,115,117,121,131,151,171,211,

%T 311,511,711,1112,1113,1115,1117,1121,1131,1151,1171,1211,1311,1511,

%U 1711,2111,3111,5111,7111,11112,11113,11115,11117,11121,11131,11151

%N Product of digits of n is a prime.

%H Vincenzo Librandi, <a href="/A028842/b028842.txt">Table of n, a(n) for n = 1..130</a>

%t Select[Range[11160],PrimeQ[Times@@IntegerDigits[#]]&] (* _Jayanta Basu_, Jun 02 2013 *)

%o (Sage) [x for x in range(10^5) if (prod(Integer(x).digits(base=10))) in Primes()] # _Bruno Berselli_, May 05 2014

%Y Cf. A007954, A028843, A028834.

%K nonn,base,easy

%O 1,1

%A _N. J. A. Sloane_.

%E More terms from _Erich Friedman_.

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 November 18 02:07 EST 2019. Contains 329242 sequences. (Running on oeis4.)