A386008 a(n) = A386005(n) - n*A373387(n).
-2, -1, -1, 2, 1, -2, -1, 0, 9, 1, -1, 0, -1, 1, 1, 0, -4, 0, 19, 1, -2, -1, -2, 3, 2, -1, -1, 0, 29, 1, -2, 0, -1, 1, 1, 0, -2, 0, 39, 1, -2, -2, -1, 2, 1, -1, -1, 0, 49, 1, -1, 0, -1, 1, 1, 0, -2, 0, 59, 1, -2, -1, -1, 6, 1, -1, -3, 0, 69, 1, -1, 0, -2, 1, 2
Offset: 2
Examples
a(3) = -1 since 3^3^3 == 3^3^3^3 (mod 10^2) while 3^3^3 <> 3^3^3^3 (mod 10^3), and the constant congruence speed of 3 is equal to 1. Thus, a(3) = 2 - 3*1.
References
- Marco Ripà, La strana coda della serie n^n^...^n, Trento, UNI Service, Nov 2011. ISBN 978-88-6178-789-6.
Links
- Marco Ripà, The congruence speed formula, Notes on Number Theory and Discrete Mathematics, 2021, 27(4), 43-61.
- Marco Ripà and Luca Onnis, Number of stable digits of any integer tetration, Notes on Number Theory and Discrete Mathematics, 2022, 28(3), 441-457.
- Wikipedia, Tetration
Comments