← Questions
First meeting point of two digit-sum sequences
0
I was asked this
No reports yet. Sign in to say where you were asked it.
From a starting number, a sequence grows by adding the sum of the current number's digits (471, then 483, then 498, and so on). Given two starting numbers whose sequences are known to meet, return the first value they share. Both sequences only increase, so advance whichever is behind.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Sign in to submit your code; every attempt is kept here.
Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding
