Happy Independence Day
CodeChefOpen on judge ↗
The last Independence Day was the 68th Independence Day. Now, the number 68 has a lot of unique properties. It is a Perrin number. It is the largest known number to be the sum of two primes in exactly two different ways: 68 = (7 + 61) and 68 = (31 + 37). Because of the factorization of 68 as 22. (42 + 1), a 68-sided regular polygon may be constructed with compass and straightedge. There are exactl
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start