[COMPETITION] Win a sub if you can post the correct number

Quackster

a devbest user says what
Aug 22, 2010
1,763
1,234
Alright,

I'll give a shitty sub to anyone who can accurately give me the number after I give these details.

Instructions

- The number (the one we're finding) is square rooted 5 times
- The first 6 digits after the decimal point is sorted numerically

Example

Number (the one to find): 687
Square root 5 times: 1.226464262660073
The first six numbers after the decimal: 226464
Sorted numerically becomes: 224466

So who can find the original number that produced: 133337

(If you're already a sub owner, I'll give it to you when your current sub expires)

DO NOT POST ARBITRARY GUESSES, YOU CAN CONFIRM WHETHER YOUR NUMBER IS CORRECT OR NOT YOURSELF

-

SOLVED!

Winner: @HDN

Answer: 6765
 
Last edited:

NathanCarn3y

Leaving a legacy
Sep 14, 2016
625
195
Alright,

I'll give a shitty sub to anyone who can accurately give me the number after I give these details.

Instructions

- The number (the one we're finding) is squared 5 times
- The first 6 digits after the decimal point is sorted numerically

Example

Number (the one to find): 687
Squared 5 times: 1.226464262660073
The first six numbers after the decimal: 226464
Sorted numerically becomes: 224466

So who can find the original number that produced: 133337

(If you're already a sub owner, I'll give it to you when your current sub expires)
115.48592987893
 

EngeldesTodes

Deutsch Techno-Freak WIR SIND EIN
Feb 21, 2011
1,070
76
hum let see
133337 square rooted 5 times is 365.1533924257
The first six numbers after the decimal: 153392
Sorted numerically becomes: 123359
think it 1233
I think
 

Mikee

Active Member
Jul 8, 2017
162
102
Python Solution - Took me a bit since idle is a shit editor and wouldnt catch linting errors
Code:
import math

test_case = [1, 3, 3, 3, 3, 7]


for x in range(1000,10000,1):
    
     y = math.sqrt(x)
     y = math.sqrt(y)
     y = math.sqrt(y)
     y = math.sqrt(y)
     penta_root = math.sqrt(y)

     decimals = str(penta_root).split(".")[1]

     first_six = []
     for index, value in enumerate(decimals):
         if index < 6:
             first_six.append(value)



     to_int = []
     for each in first_six:
         to_int.append(int(each))


     to_int.sort()
     if to_int == test_case:
         print(x)
 

CardboardMan

purple
Nov 22, 2017
126
34
Python Solution - Took me a bit since idle is a shit editor and wouldnt catch linting errors
Code:
import math

test_case = [1, 3, 3, 3, 3, 7]


for x in range(1000,10000,1):
   
     y = math.sqrt(x)
     y = math.sqrt(y)
     y = math.sqrt(y)
     y = math.sqrt(y)
     penta_root = math.sqrt(y)

     decimals = str(penta_root).split(".")[1]
What did you get for the answer so i can copy it
     first_six = []
     for index, value in enumerate(decimals):
         if index < 6:
             first_six.append(value)



     to_int = []
     for each in first_six:
         to_int.append(int(each))


     to_int.sort()
     if to_int == test_case:
         print(x)
 

Users who are viewing this thread

Top