P164
projecteuler.net

Three Consecutive Digital Sum Limit

ℹ️Published on Saturday, 20th October 2007, 06:00 am; Solved by 6369;
Difficulty rating: 45%

How many $20$ digit numbers $n$ (without any leading zero) exist such that no three consecutive digits of $n$ have a sum greater than $9$?



Soluzione

Last modified: May 01, 2025. Website built with Franklin.jl and the lovely Julia programming language.