This post builds on my three previous posts so it's best to look at those first in order to properly understand what I'm doing. These posts are:
It occurred to me that there's probably no reason to maintain
Let's start with the following SageMath code (permalink):
a, b, c= 0, 1, 2
L=[a, b, c]
for x in [1..31]:
d=a^2+b^3+c^4
d=sum(d.digits())
L.append(d)
a, b, c=b, c, d
print(L)
1, 2, 8, 10, 13, 24, 20, 32, 21, 30, 25, 25, 17, 33, 30, 28, 28, 29, 18, 18, 22, 13, 23, 21, 24, 25, 25, 26, 24, 39, 28, 28, 29
It would seem that, regardless of the starting values or the exponents, the series always ends up looping. For example, take starting values of
I've only explored the triad here but there's no reason to suppose that similar results hold true for the tetrad, pentad, hexad and beyond. It would seem that for constant powers, no matter how high, the series eventually repeats.
No comments:
Post a Comment