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!)
A107696 Primes with digital product = 10. 12

%I #9 Sep 08 2022 08:45:18

%S 251,521,11251,12511,15121,25111,111521,115211,121151,151121,152111,

%T 211151,511211,11152111,11511211,12111511,15111211,15121111,51111211,

%U 111121151,111512111,112111511,112151111,112511111,115211111,121511111,151211111

%N Primes with digital product = 10.

%t Flatten[ Table[ Select[ Sort[ FromDigits /@ Permutations[ Flatten[{2, 5, Table[1, {n}]} ]]], PrimeQ[ # ] &], {n, 0, 8}]]

%t Select[Prime[Range[3 10^6]], Times@@IntegerDigits[#] == 10 &] (* _Vincenzo Librandi_, Jul 27 2016 *)

%o (Magma) [p: p in PrimesUpTo(3*10^6) | &*Intseq(p) eq 10]; // _Vincenzo Librandi_, Jul 27 2016

%Y Cf. A004022, A107612, A107689, A107690, A107691, A107692, A107693, A107694, A107695, A107697, A107698.

%K base,nonn

%O 1,1

%A _Zak Seidov_ and _Robert G. Wilson v_, May 20 2005

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 April 25 05:56 EDT 2024. Contains 371964 sequences. (Running on oeis4.)