Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2023-01-18 01:20:33

imcute
Member
Registered: 2022-09-28
Posts: 176

Nice trick

You can use this script to detect if a number(int64) is perfect
[6,28,496,8128,33550336,8589869056, 137438691328, 2305843008139952128].includes(x)
The longs can't outrun you

Offline

Board footer

Powered by FluxBB