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!)
A086379 Numbers such that both 1 + sum of digits and 1 + product of digits are prime. 0
1, 2, 4, 6, 11, 22, 28, 66, 82, 112, 114, 121, 123, 129, 132, 136, 141, 147, 156, 163, 165, 174, 189, 192, 198, 211, 213, 219, 231, 235, 237, 253, 268, 273, 279, 286, 291, 297, 312, 316, 321, 325, 327, 334, 343, 345, 349, 352, 354, 361, 367, 369, 372, 376, 394 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
f[n_] := Block[{d = IntegerDigits[n]}, PrimeQ[1 + Plus @@ d] && PrimeQ[1 + Times @@ d]]; Select[ Range[410], f[ # ] &]
CROSSREFS
Sequence in context: A093970 A333098 A107428 * A096460 A322051 A084353
KEYWORD
nonn,base
AUTHOR
Robert G. Wilson v, Sep 07 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 20 00:26 EDT 2024. Contains 371798 sequences. (Running on oeis4.)