News for hackers. Stuff that matters.
Re:Making any integer with four 2s (2025) by jjmarr on Saturday November 07, 2026 @11:17PM (#50410377)
You can use `sin(arctan())` as the repeatable operator instead of sqrt(). Then "unwrap" by applying ^-2 - (2^-2)

3=(sin(arctan(sin(arctan(sin(arctan(2))))))^−2 − (2)^−2

Re:Making any integer with four 2s (2025) by schiffern on Sunday November 08, 2026 @05:56AM (#50412149)
Perfect answer, I hate it :)
Re:Making any integer with four 2s (2025) by shiandow on Sunday November 08, 2026 @07:39AM (#50412750)
There's a 2 in the definition of sin :-)

Though it really depends which definitions you find more fundamental.

Still, exp and log seem like good choices.

Re:Making any integer with four 2s (2025) by JadeNB on Sunday November 08, 2026 @11:42PM (#50421151)
> There's a 2 in the definition of sin :-)

How?

Re:Making any integer with four 2s (2025) by shiandow on Monday November 09, 2026 @03:14AM (#50422606)
sin(x) = (e^ix - e^-ix) / 2i
Re:Making any integer with four 2s (2025) by Personability on Monday November 09, 2026 @10:53AM (#50427244)
That's more an identity than a definition.
Re:Making any integer with four 2s (2025) by anthk on Sunday November 08, 2026 @01:04PM (#50415542)
Keep it simple.

2^2 - (2 / 2).

Re:Making any integer with four 2s (2025) by olmo23 on Monday November 09, 2026 @08:54AM (#50425631)
2 + 2 - (2/2).