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!)
A129916 Numbers n such that adding the product of the digits of n to the product of n and the sum of its digits yields a prime. 1
1, 11, 19, 27, 29, 31, 43, 49, 51, 53, 57, 61, 73, 79, 83, 87, 91, 221, 283, 463, 469, 643, 649, 661, 887, 1117, 1123, 1139, 1147, 1169, 1171, 1193, 1199, 1231, 1259, 1313, 1319, 1327, 1331, 1349, 1357, 1381, 1391, 1393, 1439, 1459, 1529, 1537, 1549, 1551 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
The sum of the digits of 19 is 10, the product of the digits is 9.
10*19 + 9 = 199 is a prime, therefore 19 is in the sequence.
MATHEMATICA
Select[Range[2000], PrimeQ[ #*Plus@@IntegerDigits[ # ] + Times@@IntegerDigits[ # ]]&]
CROSSREFS
Sequence in context: A289700 A231012 A231007 * A032694 A368374 A004769
KEYWORD
base,nonn,less
AUTHOR
J. M. Bergot, Jun 05 2007
EXTENSIONS
Edited, corrected and extended by Stefan Steinerberger, Jun 14 2007
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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)