Sum prime is fixed

I've written some distinct prime numbers, and the product of all these prime numbers is 2018.

What is their sum?


The answer is 1011.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

David Vreken
Dec 10, 2018

The prime factorization of 2018 2018 is 2 1009 2 \cdot 1009 , so the distinct prime numbers are 2 2 and 1009 1009 , and 2 + 1009 = 1011 2 + 1009 = \boxed{1011} .

Plus@@Table [ Times@@ p , { p , FactorInteger [ 2018 ] } ] \text{Plus}\text{@@}\text{Table}[\text{Times}\text{@@}p,\{p,\text{FactorInteger}[2018]\}] is 1011 1011

My solution permits a prime factor to be present more than once, i.e., 2048 would yield an answer of 22.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...