login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A084354 Primes whose product of nonzero digits + 1 is prime. 2
2, 11, 23, 29, 41, 43, 47, 61, 67, 89, 101, 149, 163, 167, 211, 223, 227, 229, 233, 251, 257, 263, 269, 281, 349, 367, 383, 401, 409, 419, 431, 433, 439, 463, 491, 521, 523, 569, 587, 601, 607, 613, 617, 631, 643, 659, 661, 673, 761, 769, 809, 821, 827, 857 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Robert Israel, Table of n, a(n) for n = 1..10000

MAPLE

filter:= proc(n) local p;

   if not isprime(n) then return false fi;

   p:= 1+ convert(subs(0=NULL, convert(n, base, 10)), `*`);

   isprime(p)

end proc:

select(filter, [2, seq(i, i=3..1000, 2)]); # Robert Israel, Mar 06 2018

MATHEMATICA

okQ[n_]:=Module[{idn=IntegerDigits[n]}, PrimeQ[1+Times@@Select[idn, #>0&]]]

Select[Prime[Range[150]], okQ]  (* Harvey P. Dale, Jan 20 2011 *)

CROSSREFS

Cf. A066725.

Sequence in context: A185545 A001032 A045386 * A066725 A087340 A246622

Adjacent sequences:  A084351 A084352 A084353 * A084355 A084356 A084357

KEYWORD

base,easy,nonn

AUTHOR

Jason Earls, Jun 22 2003

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 July 8 19:20 EDT 2020. Contains 335524 sequences. (Running on oeis4.)