News for hackers. Stuff that matters.
Re:Making any integer with four 2s by everfree on Sunday February 23, 2025 @01:22PM (#43151632)
You don't need the gamma function to get to 7. You can stay at an Algebra 1 level.

I solved the puzzle for 1-10 before looking at the answers, and this was my solution for 7:

⌊√222⌋/2

or more readably:

floor(sqrt(222)) / 2

Re:Making any integer with four 2s by pinoy420 on Sunday February 23, 2025 @01:23PM (#43151650)
If floor a legitimate mathematical function?
Re:Making any integer with four 2s by gcbirzan on Sunday February 23, 2025 @01:24PM (#43151662)
Re:Making any integer with four 2s by pinoy420 on Sunday February 23, 2025 @08:05PM (#43154855)
Yeah but it’s not a continuous function - is that allowed?
Re:Making any integer with four 2s by empath75 on Monday February 24, 2025 @11:18AM (#43161279)
It's piecewise continuous, but I don't see any reason why you'd need a continuous function.
Re:Making any integer with four 2s by everfree on Sunday February 23, 2025 @01:53PM (#43151957)
Legitimate? What do you mean?
Re:Making any integer with four 2s by pinoy420 on Sunday February 23, 2025 @08:04PM (#43154847)
Within the rules of the game
Re:Making any integer with four 2s by everfree on Sunday February 23, 2025 @08:49PM (#43155086)
I do wish those rules were a bit better defined.
Re:Making any integer with four 2s by Lockal on Sunday February 23, 2025 @06:26PM (#43154239)
With rounding functions you can get to 7 with just

ceil(2.2)+2+2