Bitcoin Forum
August 28, 2024, 05:51:19 PM *
News: All versions of Windows are affected by a critical security bug; make sure you update.
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Other / Off-topic / What is the longest vanity address found? on: August 09, 2024, 05:19:42 PM
What is the longest vanity address found? Because it's one thing to find a long vanity address with specific intentions and another to try your luck with a dictionary.

1ELonMUsKiaFNFxirdc64Hqro4YqLpDRp

@ELonMUsKia  (10)
2  Bitcoin / Bitcoin Discussion / Re: Bitcoin puzzle transaction ~32 BTC prize to who solves it on: July 26, 2024, 01:34:25 PM
Off topic:

White Hat Recovery reward 10%, i.e., up to $23 Million

https://x.com/WazirXIndia/status/1815004031561220352



Good luck.
3  Other / Off-topic / Re: Solution to the Collatz conjecture (in case there is a prize in BTC) on: July 17, 2024, 07:14:04 PM
I can't give you prize money, but I can give you a merit.

thanks, I've updated the post!
4  Other / Off-topic / Solution to the Collatz conjecture (in case there is a prize in BTC) on: July 17, 2024, 02:41:06 PM
The Collatz conjecture, also known as the 3n+1 conjecture or Ulam's conjecture, was stated by mathematician Lothar Collatz in 1937.
Although it has puzzled the mathematical community for decades, it has yet to be solved. The conjecture states the following:

Starting with any positive integer:
If the number is even, divide by 2.
If the number is odd, multiply by 3 and add 1.
A sequence is formed by applying this operation repeatedly, taking the result of each step as input for the next.
The conjecture says that we will always reach the number 1, regardless of what number we start with.

Code:
import random



def collatz(n):
    
    while n != 1:
        print(n)

        if n % 2 == 0:
            n = n // 2
            
        else:
            n = 3*n + 1
    print(n)
    return n

collatz(random.randint(1,100000000))


A conjecture is a statement that is based on observations or evidence, but that has not yet been proven or disproven. In mathematics,
a conjecture is a problem that seeks a solution, and there is a prize of almost 1 million dollars for this.


The prize will be given to whoever offers a mathematical solution that certifies whether or not this is true for all numbers, and that said solution
is not refuted by the mathematical guild.




My solution to the problem:




To understand how it works we must modify the formula 3n+1


3n+1= 3(ni) + i


3(ni) + i

where "i" must be an odd number.

and these two rules must be followed:

1- "i" must be an odd number.

The reason we apply this rule is to force 3n+i to give an even result, as we saw in the original conjecture.

2- n/i= Z

where Z refers to an integer: Z= {... -3,-2,-1, 0,+1,+2,+3 ...}


The reason we ignore this rule in the Collatz conjecture is because n/1=n


In both cases our final loop will be:

( i*4, i*2, i)

Now let's take a look at the new code corresponding to 3(ni) + i and respecting the rule.




Code:
import random

i=7


def collatz(n):
    
    while n != i:
        print(n)

        if n % 2 == 0:
            n = n // 2
            
        else:
            n = 3*n + i
    print(n)
    return n

collatz(i*random.randint(1,100000000))
                
print("final loop= "+str(i*4)+","+str( i*2)+","+str( i))


Why does it always reduce to "i"?

Forcing 3n+i to give an even result, as we can see in the original conjecture, statistically increases the number of times we divide by 2, leaving an approximate of 40-60% more divisions compared to multiplication by 3.

as you can see in the following code.


Code:
import random

i= 7

def collatz(n):
    even_count = 0
    odd_count = 0

    while n != i:
        if n % 2 == 0:
            even_count += 1
            n = n // 2
        else:
            odd_count += 1
            n = 3 * n + i

    return n, even_count, odd_count

random_number = i*random.randint(1, 100000000)
result, even, odd = collatz(random_number)

print(f"The Collatz sequence for {random_number} ends at {result}.")
print(f"Even numbers encountered: {even}")
print(f"Odd numbers encountered: {odd}")

update:


How do we verify huge numbers?

Suppose we use as target=10

Code:
import random
i=1
target=10
def collatz(n):
    even_count = 0
    odd_count = 0

    while n != i:
        print(n)
        if n % 2 == 0:
            even_count += 1
            n = n // 2
        else:
            odd_count += 1
            n = 3 * n + i
    print(n)
    return n, even_count, odd_count

random_number =i*target# i*random.randint(1, 10000)
result, even, odd = collatz(random_number)

print(f"The Collatz sequence for {random_number} ends at i {result}.")
print(f"Even numbers encountered: {even}")
print(f"Odd numbers encountered: {odd}")


we get the three results with i= 1,3,5. odd order
We appreciate that they have the same order or sequence: even, odd, even, even, even, even, odd. (because we maintained the target)

Code:
using i=1                                  using i=3                                     using i=5
10                                         |30                                         |50
5                                          |15                                         |25
16                                         |48                                         |80
8                                          |24                                         |40
4                                          |12                                         |20                                         |
2                                          |6                                          |10
1                                          |3                                          |5
The Collatz sequence for 10 ends at i 1.    The Collatz sequence for 30 ends at i 3.   The Collatz sequence for 50 ends at i 5.
Even numbers encountered: 5                 Even numbers encountered: 5                 Even numbers encountered: 5
Odd numbers encountered: 1                  Odd numbers encountered: 1                  Odd numbers encountered: 1

So if we want to search for numbers 4 to 6 using the traditional method with i=1 we obtain that the sequences are within the table.
Code:
4
2
1
The Collatz sequence for 4 ends at i 1.
Even numbers encountered: 2
Odd numbers encountered: 0

5
16
8
4
2
1
The Collatz sequence for 5 ends at i 1.
Even numbers encountered: 4
Odd numbers encountered: 1

6
3
10
5
16
8
4
2
1
The Collatz sequence for 6 ends at i 1.
Even numbers encountered: 6
Odd numbers encountered: 2


In this way we know that if we use i= 22**70 -1 it is not necessary to go through the entire section from 1 to 22**70 -1 with the original conjecture to verify that the sequence exists.
Code:
import random
i=22**70 -1
target=10
def collatz(n):
    even_count = 0
    odd_count = 0

    while n != i:
        print(n)
        if n % 2 == 0:
            even_count += 1
            n = n // 2
        else:
            odd_count += 1
            n = 3 * n + i
    print(n)
    return n, even_count, odd_count

random_number =i*target# i*random.randint(1, 10000)
result, even, odd = collatz(random_number)

print(f"The Collatz sequence for {random_number} ends at i {result}.")
print(f"Even numbers encountered: {even}")
print(f"Odd numbers encountered: {odd}")

Code:
93236863968449335445326143653683496321795363944175445348633354543780733426420385752394487562230
46618431984224667722663071826841748160897681972087722674316677271890366713210192876197243781115
149178982349518936712521829845893594114872582310680712557813367270049173482272617203831180099568
74589491174759468356260914922946797057436291155340356278906683635024586741136308601915590049784
37294745587379734178130457461473398528718145577670178139453341817512293370568154300957795024892
18647372793689867089065228730736699264359072788835089069726670908756146685284077150478897512446
9323686396844933544532614365368349632179536394417544534863335454378073342642038575239448756223

The Collatz sequence for 93236863968449335445326143653683496321795363944175445348633354543780733426420385752394487562230 ends at
 i 9323686396844933544532614365368349632179536394417544534863335454378073342642038575239448756223.
Even numbers encountered: 5
Odd numbers encountered: 1


So we can conclude that the Collatz conjecture is true for all numbers.




Thanks for reading, if there is a reward in BTC (I'm not sure there is) I'll leave my wallet to whoever might be interested in my profile, I also uploaded a paper on the official page for mathematicians.
5  Bitcoin / Bitcoin Discussion / Re: Bitcoin puzzle transaction ~32 BTC prize to who solves it on: July 04, 2024, 02:13:45 PM
Why search for puzzle 66? Don't you think it's a waste of time?
6  Bitcoin / Bitcoin Discussion / Re: Bitcoin puzzle transaction ~32 BTC prize to who solves it on: June 15, 2024, 03:49:48 PM
I think this puzzle thing has stalled, the creator should release all the remaining public keys if he really wants to test the robustness of bitcoin, here only sha256 and ripemd-160 are being tested at this point
7  Other / Off-topic / Re: my problem with puzzle BTC #130 on: June 15, 2024, 03:41:09 PM
hello , how are you now ? you seems to be not updating us what had happened? because we are concern about
your health and your decision making and also about that woman that abused your feeling .
hoping that you are doing better now and have living a life that you deserve .

Hello, thank you for asking. Everything is improving day by day. I still feel anxiety and stress because it’s difficult for me not to think about it every day.
However, by exercising, I can control the anxiety and stress a little. Sometimes, even after midnight, I exercise to be able to sleep. Exercise helps a lot.
In general, everything is much better than it was at the beginning. I just want to finish healing and then continue with my life and my goals.

Cheer up, man! We’re eagerly waiting to see what you’ve got up your sleeve. Your lightweight database was the most innovative thing I’ve seen since Kangaroo and Keyhunt years ago. You’ve got talent.
8  Bitcoin / Development & Technical Discussion / Re: lightweight database, for brute force using publickeys-32Mk =3.81MB(secp256k1) on: April 10, 2024, 12:43:39 PM
lol tried to even find where is working codes but all seems like chit chat and no solid code are available not even on github

please provide all working codes or update it in github

I wrote to the OP, but I think he died according to his last post, or maybe he's a troll, I don't know.
9  Other / Off-topic / Re: my problem with puzzle BTC #130 on: April 08, 2024, 10:06:32 PM
I regret to inform you that Douglas last night decided to say goodbye to this world, I don't know how this works, he never showed me any sadness, I regret in my soul that I didn't see it coming.
My condolences to those who knew him, I do not have access to his networks to notify anyone, only this and an email that is not associated with anything else.
I'm taking care of the preparations.
admins can now close this account.


just when your work had caught my interest, I hope it's just a joke...
10  Bitcoin / Development & Technical Discussion / Re: lightweight database, for brute force using publickeys-32Mk =3.81MB(secp256k1) on: April 08, 2024, 03:23:13 PM
Does anyone have C or C++ code to create databases faster?
11  Bitcoin / Bitcoin Discussion / Re: Bitcoin puzzle transaction ~32 BTC prize to who solves it on: March 19, 2024, 08:42:47 PM
You have to limit yourself to only searches for #130
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!