New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - feat(archive/imo): formalize IMO 1962 problem Q1 #4450
Conversation
Please fix the PR title. |
|
That is, |
I tried it this way, and it does work, but the solution ends up being more complicated than this is right now. It doesn't shorten the logic for each number of digits - see https://leanprover.zulipchat.com/#narrow/stream/113489-new-members/topic/unexpected.20.22bit0.22.2C.20.22bit1.22.20etc for discussion - and it requires the extra proof of |
@lacker I pushed a few changes. Mostly stylistic, but I also removed If you're happy with my edits, feel free to merge. bors d+ |
✌️ lacker can now approve this pull request. To approve and merge a pull request, simply reply with |
bors r+ |
The problem statement: Find the smallest natural number $n$ which has the following properties: (a) Its decimal representation has 6 as the last digit. (b) If the last digit 6 is erased and placed in front of the remaining digits, the resulting number is four times as large as the original number $n$. This is a proof that 153846 is the smallest member of the set satisfying these conditions. Co-authored-by: Bryan Gin-ge Chen <bryangingechen@gmail.com>
Pull request successfully merged into master. Build succeeded: |
The problem statement:
Find the smallest natural number$n$ which has the following properties:$n$ .
(a) Its decimal representation has 6 as the last digit.
(b) If the last digit 6 is erased and placed in front of the remaining digits,
the resulting number is four times as large as the original number
This is a proof that 153846 is the smallest member of the set satisfying these conditions.