It's still possible to do it by hand

Computer Science Level pending

33, 34, 35 is the smallest triplet of consecutive positive integers such that they each have a precisely 4 positive divisors .

Find the fourth smallest positive integer x x such that the numbers x , x + 1 , x + 2 x,x+1,x+2 has precisely 4 positive divisors each.


The answer is 141.

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.

1 solution

Hasmik Garyaka
Sep 16, 2017

def problem1239343():
count=0
for i in range(33,200):
if prime(MinFactor(i)) and prime(i//MinFactor(i)):
count+=1
else:
count=0
if count==3:
print(i)


0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...