Problem

2026 Fermat Problem 23

The string of digits 123451234551234555\ldots is formed by alternately writing the digits 1234, in that order, and then writing some number of consecutive 5s. There are exactly k consecutive 5s immediately following the kth occurrence of 1234. If S is the sum of the first 2026 digits of the string, what is the sum of the digits of S?

If there are no answer choices shown, enter a numerical answer.


Full credit to this problem is given to the CEMC, you may view all Fermat contests here.


Show/Hide Problem Tags

Problem Tags: No tags

Want to contribute problems and receive full credit? Click here to add your problem!
Please report any issues to us in our Discord server
Go to previous contest problem (SHIFT + Left Arrow) Go to next contest problem (SHIFT + Right Arrow)