The Naked Scientists
  • Login
  • Register
  • Podcasts
      • The Naked Scientists
      • eLife
      • Naked Genetics
      • Naked Astronomy
      • In short
      • Naked Neuroscience
      • Ask! The Naked Scientists
      • Question of the Week
      • Archive
      • Video
      • SUBSCRIBE to our Podcasts
  • Articles
      • Science News
      • Features
      • Interviews
      • Answers to Science Questions
  • Get Naked
      • Donate
      • Do an Experiment
      • Science Forum
      • Ask a Question
  • About
      • Meet the team
      • Our Sponsors
      • Site Map
      • Contact us

User menu

  • Login
  • Register
  • Home
  • Help
  • Search
  • Tags
  • Member Map
  • Recent Topics
  • Login
  • Register
  1. Naked Science Forum
  2. General Science
  3. General Science
  4. Simple finite number of steps to shuffle a rubis cube with random large integer?
« previous next »
  • Print
Pages: [1]   Go Down

Simple finite number of steps to shuffle a rubis cube with random large integer?

  • 13 Replies
  • 1153 Views
  • 1 Tags

0 Members and 1 Guest are viewing this topic.

Offline remotemass (OP)

  • Full Member
  • ***
  • 77
  • Activity:
    0.5%
  • Thanked: 4 times
  • Naked Science Forum Newbie
    • View Profile
Simple finite number of steps to shuffle a rubis cube with random large integer?
« on: 12/12/2022 22:23:43 »
Large random integer = n = ?
(You can use the latest cryptographic hash coming from the bitcoin network in the latest block on its blockchain on average within the next 10-11 minutes. Just hash it with SHA-256 to get rid of the leading zeros on the left and have a large random integer of 256-bits data)

Number of possibilities of next rotations movement = 18 (6 faces. Rotate clockwise or anticlockwise? 90 degrees rotation or 180 degrees rotation? 6 * 2 = 12. And 12 + 6 = 18.

The large random integer can be written using the 26 letters of the English alphabet.

#1 = R = 00000 = English letter "A"

#2 = L = 00001 = English letter "B"

#3 = F = 00010 = English letter "C"

#4 = B = 00011 = English letter "D"

#5 = U = 00100 = English letter "E"

#6 = D = 00101 = English letter "F"

#7 = R' = 00110 = English letter "G"

#8 = L' = 00111 = English letter "H"

#9 = F' = 01000 = English letter "I"

#10 = B' = 01001 = English letter "J"

#11 = U' = 01010 = English letter "K"

#12 = D' = 01011 = English letter "L"

#13 = R2 = 01100 = English letter "M"

#14 = L2 = 01101 = English letter "N"

#15 = F2 = 01110 = English letter "O"

#16 = B2 = 01111 = English letter "P"

#17 = U2 = 10000 = English letter "Q"

#18 = D2 = 10001 = English letter "R"

#19 = R = 00000 = English letter "S"

#20 = L = 00001 = English letter "T"

#21 = F = 00010 = English letter "U"

#22 = B = 00011 = English letter "V"

#23 = U = 00100 = English letter "W"

#24 = D = 00101 = English letter "X"

#25 = R' = 00110 = English letter "Y"

#26 = L' = 00111 = English letter "Z"

 Step 1) To find "m" subtract "i" from "n", when "i" goes from 1 to 26.
 Step 2) When "i" divides "n", go next step. What is "m" now and what is "i" now when we go to next step?
 Step 3) Loop back to step 1 till m is less than 2.

Can this finite number of steps in my own pseudocode language be improved by you?
(We want an easy and simple way to shuffle Rubik's cubes hashing, with SHA-256, the latest hash of the bitcoin network as many times as needed according to how many cubes we want to shuffle at that moment in time.)
 
Logged
 



Offline remotemass (OP)

  • Full Member
  • ***
  • 77
  • Activity:
    0.5%
  • Thanked: 4 times
  • Naked Science Forum Newbie
    • View Profile
Re: Simple finite number of steps to shuffle a rubis cube with random large integer?
« Reply #1 on: 12/12/2022 23:03:18 »
[ REPLY from ChatGPT ] - "Using a large random number generated by hashing the latest block of the Bitcoin blockchain to shuffle a Rubik's cube would not be a simple or easy way to do it, and it would not be easily verifiable by most people. As I mentioned earlier, there are many algorithms available online that can be used to shuffle a Rubik's cube in a random fashion, and these algorithms are much simpler and more efficient than using a large random number generated by hashing the latest block of the Bitcoin blockchain. Additionally, using a large random number generated by hashing the latest block of the Bitcoin blockchain would not be necessary or desirable, as the number of possible states of a Rubik's cube is much smaller than the number of possible values of a 256-bit number."
Logged
 

Offline Bored chemist

  • Naked Science Forum GOD!
  • *******
  • 29138
  • Activity:
    79.5%
  • Thanked: 1068 times
    • View Profile
Re: Simple finite number of steps to shuffle a rubis cube with random large integer?
« Reply #2 on: 13/12/2022 08:36:03 »
Quote from: remotemass on 12/12/2022 22:23:43
We want an easy and simple way to shuffle Rubik's cubes hashing, with SHA-256,
Why?
Logged
Please disregard all previous signatures.
 

Offline remotemass (OP)

  • Full Member
  • ***
  • 77
  • Activity:
    0.5%
  • Thanked: 4 times
  • Naked Science Forum Newbie
    • View Profile
Re: Simple finite number of steps to shuffle a rubis cube with random large integer?
« Reply #3 on: 13/12/2022 10:40:37 »
Quote from: Bored chemist on 13/12/2022 08:36:03
Quote from: remotemass on 12/12/2022 22:23:43
We want an easy and simple way to shuffle Rubik's cubes hashing, with SHA-256,
Why?

Most talented magicians performing on a stage or on television are able to convincingly cheat us in a very convincing way in the performance of an extraction of random numbers to shuffle a Rubik's cube well or some other way of randomly shuffling them.
It is unlikely that many others would not be able to do the same and learn how to cheat us as well performing such a fake shuffling as the best magicians in world can certainly do.

Using the random number coming from the Bitcoin network that will be available for any of with access to the internet each time a new block of transactions is created in the bitcoin blockchain and its cryptographic hash using SHA-256 can be found, it is extremely difficult to cheat others on something like this, the snuffling of a Rubik's cube using a random integer.

Cryptographically secure random numbers, such as those generated by the Bitcoin network, can provide a strong foundation for ensuring the fairness and randomness of a shuffling process, such as the shuffling of a Rubik's cube. Because these random numbers are generated using complex mathematical algorithms and cryptographic techniques, it is extremely difficult for anyone to predict or manipulate the outcome of the shuffling process. This can provide a high level of confidence that the shuffling is truly random and fair.

- remotemass
« Last Edit: 13/12/2022 10:43:49 by remotemass »
Logged
 

Offline Bored chemist

  • Naked Science Forum GOD!
  • *******
  • 29138
  • Activity:
    79.5%
  • Thanked: 1068 times
    • View Profile
Re: Simple finite number of steps to shuffle a rubis cube with random large integer?
« Reply #4 on: 13/12/2022 10:49:07 »
You are planning to do that because you think magicians don't use real magic?

Would you like to think that through again?

Logged
Please disregard all previous signatures.
 



Offline remotemass (OP)

  • Full Member
  • ***
  • 77
  • Activity:
    0.5%
  • Thanked: 4 times
  • Naked Science Forum Newbie
    • View Profile
Re: Simple finite number of steps to shuffle a rubis cube with random large integer?
« Reply #5 on: 13/12/2022 10:57:49 »
Quote from: Bored chemist on 13/12/2022 10:49:07
You are planning to do that because you think magicians don't use real magic?

Would you like to think that through again?

Please don't put words in my mouth like that.
I am not planning to do anything that would make me as silly.
Logged
 

Offline Bored chemist

  • Naked Science Forum GOD!
  • *******
  • 29138
  • Activity:
    79.5%
  • Thanked: 1068 times
    • View Profile
Re: Simple finite number of steps to shuffle a rubis cube with random large integer?
« Reply #6 on: 13/12/2022 12:49:53 »
OK, why are you looking at these cryptographic techniques?
Logged
Please disregard all previous signatures.
 

Offline remotemass (OP)

  • Full Member
  • ***
  • 77
  • Activity:
    0.5%
  • Thanked: 4 times
  • Naked Science Forum Newbie
    • View Profile
Re: Simple finite number of steps to shuffle a rubis cube with random large integer?
« Reply #7 on: 13/12/2022 17:39:31 »
Quote from: Bored chemist on 13/12/2022 12:49:53
OK, why are you looking at these cryptographic techniques?

A: You can see a new block it as a block of random data, pretty much like the next number of a magazine that is just random dots on white paper pages, probably someone's favourite magazine, sooner or later ;-)
Let's call that magazine next number, or random block next number: "Big iBits", for the sake of giving it a sound name.

Now, the cryptography is just to get the digital fingerprint of that raw random data. You use a cryptographic hash, and the one you use is the one that Bitcoin uses the most: SHA-256. That's it. Nothing too fancy.

With the random integer number you, after indexing all the possibilities of sequencing the possible next rotations, find the sequence of rotations that will give your new shuffling of your cube. Any questions? Simple.
Logged
 

Online Eternal Student

  • Naked Science Forum King!
  • ******
  • 1275
  • Activity:
    12.5%
  • Thanked: 282 times
    • View Profile
Re: Simple finite number of steps to shuffle a rubis cube with random large integer?
« Reply #8 on: 13/12/2022 19:22:41 »
Hi.

   It all sounds strangely specific in some places and overall quite needless just to shuffle a Rubik's cube.    If you want to shuffle a Rubik's cube randomly, there are many ways you could do that.
   Meanwhile, if your intention is to defeat the Bitcoin system in some way, then I'm not sure we should be helping with that.

Best Wishes. 
Logged
 



Offline evan_au

  • Global Moderator
  • Naked Science Forum GOD!
  • ********
  • 10748
  • Activity:
    20%
  • Thanked: 1383 times
    • View Profile
Re: Simple finite number of steps to shuffle a rubis cube with random large integer?
« Reply #9 on: 13/12/2022 19:26:58 »
Quote from: remotemass
it is extremely difficult for anyone to predict or manipulate the outcome of the shuffling process
You are ignoring the possibility of an "inside job".
- Someone who has access to the source code knows exactly how the shuffle will turn out
- That includes you (remotemass), anyone who has access to your computer, plus anyone who read your description on a public discussion forum
- The Bitcoin hashes are available to the public, and contain the historical hashes in case you want to unscramble one posed a year ago...

You propose a 5 bit code to specify each scrambling move
- That gives 256/5 = 51 moves.
- This algorithm uses only 18 combinations out of 32 possible with 5 bits, throwing away almost half of the randomness
- If you wanted even more moves, you would represent the 256-bit hash in base 18, effectively using all the randomness
- Limiting the world to solving 1 Rubik's Cube every 10 minutes seems a bit restrictive...
- There are random number generators that can generate a new cube every few microseconds,
- Most laptops now have a TPM module, which can generate a random seed for the random number generator
https://en.wikipedia.org/wiki/Trusted_Platform_Module#Overview

But why would you bother?
- I understand that the maximum number of moves to solve a Rubik's Cube is 20 (but many well-scrambled cubes can be solved in 16 to 19 moves)
https://en.wikipedia.org/wiki/Optimal_solutions_for_Rubik%27s_Cube
Logged
 

Offline Bored chemist

  • Naked Science Forum GOD!
  • *******
  • 29138
  • Activity:
    79.5%
  • Thanked: 1068 times
    • View Profile
Re: Simple finite number of steps to shuffle a rubis cube with random large integer?
« Reply #10 on: 13/12/2022 20:02:30 »
Quote from: remotemass on 13/12/2022 17:39:31
Any questions?
just 2 questions.
Why go to that much trouble to generate numbers that are not really random?

The RAND function in excel is good enough for most things.

Quote from: remotemass on 13/12/2022 10:40:37
Most talented magicians performing on a stage or on television are able to convincingly cheat us in a very convincing way in the performance of an extraction of random numbers to shuffle a Rubik's cube well or some other way of randomly shuffling them.
What evidence do you have for this?

Maybe they just know how to solve a Rubik's cube.
There are instructions on the web.
I know people who can do it.
Logged
Please disregard all previous signatures.
 

Offline Bored chemist

  • Naked Science Forum GOD!
  • *******
  • 29138
  • Activity:
    79.5%
  • Thanked: 1068 times
    • View Profile
Re: Simple finite number of steps to shuffle a rubis cube with random large integer?
« Reply #11 on: 14/12/2022 12:12:49 »
Just a  thought.
If you try to follow the prescribed set of moves but make a mistake, will the output be more random, or less?
Logged
Please disregard all previous signatures.
 

Offline evan_au

  • Global Moderator
  • Naked Science Forum GOD!
  • ********
  • 10748
  • Activity:
    20%
  • Thanked: 1383 times
    • View Profile
Re: Simple finite number of steps to shuffle a rubis cube with random large integer?
« Reply #12 on: 16/12/2022 21:02:52 »
Quote from: Bored Chemist
If you try to follow the prescribed set of moves but make a mistake, will the output be more random, or less?
There are a relatively few configurations of Rubiks cube that require the full 20 moves to solve: about 300 million of them (out of 43,252,003,274,489,856,000).
- So if you were in one of these "worst case" configurations, the odds are that any random move will get it closer to being solved (ie "less" disordered)
- The same goes for cubes requiring 19 moves to solve.
- But if you have a cube requiring 17 or less moves to solve, the odds are that a random turn will increase the number of moves to solve.

* Rubiks_Cube_Moves.png (30.34 kB . 471x587 - viewed 950 times)
Table from: https://www.quora.com/How-many-permutations-does-a-Rubiks-Cube-have

PS: This thread has an intriguing link to the question in another thread about "Is there a substance where entropy decreases at higher temperature?". Is the answer "Rubik's Cube"?
https://www.thenakedscientists.com/forum/index.php?topic=85931.0
Logged
 



Offline wolfekeeper

  • Naked Science Forum King!
  • ******
  • 1678
  • Activity:
    1%
  • Thanked: 79 times
    • View Profile
Re: Simple finite number of steps to shuffle a rubis cube with random large integer?
« Reply #13 on: 20/12/2022 15:47:16 »
Is the OP on this thread a bot or only the 'reply' by ChatGPT?
Logged
 



  • Print
Pages: [1]   Go Up
« previous next »
Tags: rubik's cube 
 

Similar topics (5)

Does a live human body and a dead human body have the same number of particles?

Started by Pseudoscience-is-malarkeyBoard General Science

Replies: 2
Views: 2542
Last post 20/03/2021 20:30:11
by Zer0
Why are small bubbles white, but large bubbles are see through?

Started by thedocBoard Chemistry

Replies: 2
Views: 4471
Last post 16/10/2013 15:13:48
by dlorde
How large is a food "portion"?

Started by syhprumBoard Physiology & Medicine

Replies: 12
Views: 8026
Last post 04/03/2017 00:22:07
by alancalverd
Spam@yahoo.com Call him on spam number

Started by DobMeyer22Board That CAN'T be true!

Replies: 2
Views: 2171
Last post 01/04/2019 23:45:24
by chris
How can a small change in CO2 make a large change in climate?

Started by Imogen Game Board The Environment

Replies: 9
Views: 11003
Last post 28/03/2019 07:42:02
by ConnorGunning
There was an error while thanking
Thanking...
  • SMF 2.0.15 | SMF © 2017, Simple Machines
    Privacy Policy
    SMFAds for Free Forums
  • Naked Science Forum ©

Page created in 0.13 seconds with 64 queries.

  • Podcasts
  • Articles
  • Get Naked
  • About
  • Contact us
  • Advertise
  • Privacy Policy
  • Subscribe to newsletter
  • We love feedback

Follow us

cambridge_logo_footer.png

©The Naked Scientists® 2000–2017 | The Naked Scientists® and Naked Science® are registered trademarks created by Dr Chris Smith. Information presented on this website is the opinion of the individual contributors and does not reflect the general views of the administrators, editors, moderators, sponsors, Cambridge University or the public at large.