Jump to content
BrainDen.com - Brain Teasers
  • 0


Guest
 Share

Question

How many prime numbers

that are less than a billion

have a digit sum

that is a prime number

that is less than

the sum of the digits

of the number of factors

of a googol?

Edited by xamdam
Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

3 - (2,3,101)

Number of factors in a googol... A googol is 10100. 1 is a factor. Every power of 10 up to 100 is also a factor. For each power of 10 there is another power of 2 and 5.

Therefore I count 301 factors. The digit sum of this is 4. So the prime number that is the digit sum of our number must either be 3 or 2. If the digit sum was 3 then it wouldn't be prime with the exception of 3 itself. So we are looking for numbers less than a billion that have a digit sum of 2. It cannot be even , except 2, so it must end and start in a 1. 101 is the only such number less than a billion that is prime.

Link to comment
Share on other sites

  • 0

if 101 is less than a billion and equals two than wouldn't 1001, 10001, 100001....?

3 - (2,3,101)

Number of factors in a googol... A googol is 10100. 1 is a factor. Every power of 10 up to 100 is also a factor. For each power of 10 there is another power of 2 and 5.

Therefore I count 301 factors. The digit sum of this is 4. So the prime number that is the digit sum of our number must either be 3 or 2. If the digit sum was 3 then it wouldn't be prime with the exception of 3 itself. So we are looking for numbers less than a billion that have a digit sum of 2. It cannot be even , except 2, so it must end and start in a 1. 101 is the only such number less than a billion that is prime.

Edited by txmom2
Link to comment
Share on other sites

  • 0

3 - (2,3,101)

Number of factors in a googol... A googol is 10100. 1 is a factor. Every power of 10 up to 100 is also a factor. For each power of 10 there is another power of 2 and 5.

Therefore I count 301 factors. The digit sum of this is 4. So the prime number that is the digit sum of our number must either be 3 or 2. If the digit sum was 3 then it wouldn't be prime with the exception of 3 itself. So we are looking for numbers less than a billion that have a digit sum of 2. It cannot be even , except 2, so it must end and start in a 1. 101 is the only such number less than a billion that is prime.

I think I disagree with the number of factors you found for a googol. For example, does your analysis include 20 as a factor? I count 10201 factors.

Link to comment
Share on other sites

  • 0

3 - (2,3,101)

Number of factors in a googol... A googol is 10100. 1 is a factor. Every power of 10 up to 100 is also a factor. For each power of 10 there is another power of 2 and 5.

Therefore I count 301 factors. The digit sum of this is 4. So the prime number that is the digit sum of our number must either be 3 or 2. If the digit sum was 3 then it wouldn't be prime with the exception of 3 itself. So we are looking for numbers less than a billion that have a digit sum of 2. It cannot be even , except 2, so it must end and start in a 1. 101 is the only such number less than a billion that is prime.

11? Prime and sum is 2

if 101 is less than a billion and equals two than wouldn't 1001, 10001, 100001....?

Those numbers aren't prime?

Link to comment
Share on other sites

  • 0

Nice teamwork, all. Glad you caught that last one, Zachs -- I was afraid it was going to get away. Welcome to the Den!

thumbsup.gif

four primes: 2, 3, 11 and 101 that had prime digit sums less than the sum of the digits of 10201

Edited by xamdam
Link to comment
Share on other sites

  • 0

Nice teamwork, all. Glad you caught that last one, Zachs -- I was afraid it was going to get away. Welcome to the Den!

thumbsup.gif

four primes: 2, 3, 11 and 101 that had prime digit sums less than the sum of the digits of 10201

Thanks. My friend and I have been doing these for a while now. I try to figure out the 'trick' to them. He wrote a custom data type and brute forces everything on his computer. We couldn't let that one slip through though. :-)

Link to comment
Share on other sites

  • 0

Thanks. My friend and I have been doing these for a while now. I try to figure out the 'trick' to them. He wrote a custom data type and brute forces everything on his computer. We couldn't let that one slip through though. :-)

Sounds like a good combination.

Just curious -- there was a "Factors and Factorials" puzzle a few weeks ago that contained numbers like 9001 factorial. Can your friend's custom data type handle numbers that big?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...