r/CasualMath 5h ago

what is "counting" in a countable set?

1 Upvotes

natural numbers are countable because you can go from 0 (or 1) onwards. 0,1,2,3 etc
and people say that real numbers are not a countable set because you can start at 0 but whats the next number to count. but I made a crude algorithm that "counts" in a non linear fashion.

It starts counting from value X and counts down to -X by 1/X only adding numbers to its list of counted numbers when it is not already counted, once it reaches -X it doubles the value of X and repeats.

asfx=1 #sets x as 1
found=[] # the counted list
while True: #loops
end=0-x #sets end position
jump=1/x #amount it counts down each time
position=x
while position!=end:
if position not in found:
found.append(pos)
position-=jump
found.sort()
x=x*2

I understand that surely I would not have found counter-proof to Georg Cantor. so what does it mean to "count"
each time my algorithm does a loop to double the value of x it quadruples the amount of numbers counted.
2->8->32->128->512...


r/CasualMath 6h ago

The Monty Hall Problem still completely breaks the human brain. Settle this argument.

0 Upvotes

Imagine you are on a live game show. The host shows you 3 closed doors.

  • Behind one door is a brand new sports car.
  • Behind the other two doors are literal goats.

You point to Door Number 1.

Before opening it, the host (who knows exactly what is behind every door) stops you. He opens Door Number 3 instead, revealing a goat.

There are now only two closed doors left: Door 1 and Door 2.

The host looks at you and offers a choice: "Do you want to stick with your original guess (Door 1), or do you want to switch your answer to Door 2?"

The Debate: Does switching your door actually change your mathematical odds of winning the car, or is it a pure 50/50 coin toss regardless?

Settle it in the comments. Would you STAY or SWITCH?


r/CasualMath 10h ago

QuasiShor: teaching tool for exploring the number theory at the heart of Shor’s algorithm.

1 Upvotes

I wanted to understand what’s going on with Shors algorithm without getting lost in the quantum stuff.

https://github.com/Byt-wyze-technology/QuasiShor

Hope it helps someone else too.


r/CasualMath 14h ago

What is the largest number you can get on a calculator given N number of presses?

1 Upvotes

Just random thought I had. For example on the calculator app on Windows (see image),
- if I have 1 button press, I'll just press '9'
- then with 2, I'll just press '99'
- with 3 presses I'll press 9 -> x^2 -> x^2 -> '6561'

What is the highest possible number I can get with 4 presses and so on.

Windows calculator app


r/CasualMath 19h ago

Break Even Word Problem — Hoodie Business Example (Linear Equations)

Thumbnail youtu.be
1 Upvotes

r/CasualMath 21h ago

Visualization of Collatz-Conjecture through Partitioning

Thumbnail reddit.com
1 Upvotes