cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Previous Showing 11-13 of 13 results.

A380031 Smallest integer of d digits, greater than 1 and not ending in 0, whose constant congruence speed is not yet constant at height d + 2.

Original entry on oeis.org

5, 807, 81666295807, 81907922943, 161423787862411847003581666295807, 115161423787862411847003581666295807, 45115161423787862411847003581666295807, 44317662666830362972182803640476581907922943, 776138023544317662666830362972182803640476581907922943
Offset: 1

Views

Author

Marco Ripà, Jan 10 2025

Keywords

Comments

The present sequence is a subsequence of A068407, but it is not a subsequence of A379906 (e.g., a(4) is not a term of A379906).
Although the congruence speed of any integer m > 1 not divisible by 10 is certainly stable at height m + 1 (for a tighter upper bound see "Number of stable digits of any integer tetration" in Links), this sequence contains infinitely many terms, implying the existence of infinitely many tetration bases of d digits whose congruence speed does not stabilize in less than d + 3 iterations (e.g., the congruence speed of 807, a 3-digit number, becomes constant only at height).
As a nontrivial example, the congruence speed of a(10) := 712222747129609220545115161423787862411847003581666295807 (a 57-digit number whose constant congruence speed is also 57) becomes stable at height 60, which exactly matches the mentioned tight bound, for the numbers ending in 2, 3, 7, or 8, of v_5(712222747129609220545115161423787862411847003581666295807^2 + 1) + 2, where v_5(...) indicates the 5-adic valuation of the argument.
The smallest integer of d digits whose constant congruence speed is not yet constant at height d + 3 is 435525708925199660525680385844696084258785712222747129609220545115161423787862411847003581666295807 (a 99-digit number whose congruence speed stabilizes at height 104 to its constant value of 101).
For any n >= 2, terms of this sequence derive from one digit 5 that appears in any of the two 10-adic solutions (- {5^2^k}_oo + {2^5^k}_oo) := ...2411847003581666295807 and (- {5^2^k}_oo - {2^5^k}_oo) := ...2803640476581907922943 of the fundamental 10-adic equation y^5 = y (see "The congruence speed formula" in Links). The only other candidate terms can arise from the remaining two symmetric 10-adic solutions ({5^2^k}_oo + {2^5^k}_oo) := ...7196359523418092077057 and ({5^2^k}_oo - {2^5^k}_oo) := ...7588152996418333704193 of y^5 = y as particular patterns of 0s and 5 may occur in the corresponding (neverending) strings (e.g., '50...0').
Consequently, if n > 1 is given, a(n) is always congruent modulo 50 to 7 or 3.

Examples

			a(2) = 807 since the corresponding 10-adic solution of y^5 = y is ...61423787862411847003581666295807 where the rightmost digit 5 appears to the left side of a(2) itself, while no smaller numbers with the same feature are achievable by cutting the 10-adic integer ...30362972182803640476581907922943 (also one of the 15 solutions of the fundamental 10-adic equation y^5 = y) in correspondence of its rightmost digit 5.
		

References

  • Marco Ripà, La strana coda della serie n^n^...^n, Trento, UNI Service, Nov 2011. ISBN 978-88-6178-789-6.

Crossrefs

Formula

For any n > 1, a(n) corresponds to a cut on the right side of a digit 5 that appears inside one of the two strings (- {5^2^k}_oo - {2^5^k}_oo) := ...96579486665776138023544317662666830362972182803640476581907922943 and (- {5^2^k}_oo + {2^5^k}_oo) := ...84258785712222747129609220545115161423787862411847003581666295807, or even to a cut on the right side of a 5 belonging to rare digit-patterns consisting of juxtaposed 5 and trailing 0's occurring inside ({5^2^k}_oo + {2^5^k}_oo) := ...7196359523418092077057 or ({5^2^k}_oo - {2^5^k}_oo) := ...7588152996418333704193.

A381015 a(n) = n + (number of trailing 0's of n).

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 21, 22, 23, 24, 25, 26, 27, 28, 29, 31, 31, 32, 33, 34, 35, 36, 37, 38, 39, 41, 41, 42, 43, 44, 45, 46, 47, 48, 49, 51, 51, 52, 53, 54, 55, 56, 57, 58, 59, 61, 61, 62, 63, 64, 65, 66, 67, 68, 69, 71, 71, 72, 73, 74, 75, 76, 77
Offset: 1

Views

Author

Marco Ripà, Feb 11 2025

Keywords

Comments

Constant congruence speed of (10^n + 1)^n, i.e., a(n) = A373387((10^n + 1)^n).
Since 10^n + 1 is never a perfect power by Catalan's conjecture (Mihăilescu's theorem), it follows that if 10 does not divide n, then (10^n + 1)^n is exactly an n-th perfect power with a constant congruence speed of a(n) = n.
Moreover, for any positive integer n, the congruence speed of (10^n + 1)^n equals 2*a(n) at height 1 and then becomes stable at height 2.

Examples

			a(10) = 11 since A373387((10^10 + 1)^10) = 11.
		

Crossrefs

Programs

  • Mathematica
    a[n_]:=n+IntegerExponent[n,10]; Array[a,77] (* Stefano Spezia, Feb 13 2025 *)
  • PARI
    a(n) = n + valuation(n, 10); \\ Michel Marcus, Feb 13 2025

Formula

a(n) = n + A122840(n).
a(n) = A373387(A121520(n)).

A386008 a(n) = A386005(n) - n*A373387(n).

Original entry on oeis.org

-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

Views

Author

Marco Ripà, Jul 14 2025

Keywords

Comments

Assuming that n is not a multiple of 10, this sequence measures the difference between the number of stable digits in n^^n and the product of n times the constant congruence speed of n (see A373387 and A317905).
A negative value of a(n) means that, on average, each iteration n^^b --> n^^(b+1), with b < A372490(n), contributes fewer stable digits than what will be contributed per step once the congruence speed of n reaches its constant value.
Positive values also imply the existence of a pre-period for the given n, and indicate that its average contribution per step exceeds the constant congruence speed of n.
If n == 5 (mod 10) and n <> 5, the pre-period of the congruence speed always has length 2 (i.e., A372490(n) = 3). However, the number of stable digits observed up to that point follows two distinct rules: if n = 20*k + 5 (for positive integer k), then a(n) = (n + 1)*A373387(n); if n = 20*(k - 1) + 15, then it is n*A373387(n) + 1. The resulting residue is A373387(n) in the former case, and 1 in the latter. For n = 5, the pre-period has length 3 (and this is the only such case for n ending in 5).

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.

Crossrefs

Previous Showing 11-13 of 13 results.