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.

Showing 1-3 of 3 results.

A175401 Sequence of resulting numbers after 4th step of iteration defined in A175398.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 4, 8, 1, 9, 1, 1, 1, 9, 1, 3, 9, 1, 8, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1
Offset: 0

Views

Author

Jaroslav Krizek, May 01 2010

Keywords

Comments

Examples

			For n = 29: a(29) = 9 because for the number 29 there are 4 steps of defined iteration: {2^9 = 512}, {(5^1)^2 = 25}, {2^5 = 32}, {3^2 = 9} and 4th step of iteration ending with number 9.
		

A175402 a(n) is the number of iterations of {r -> (((D_1^D_2)^D_3)^...)^D_k, where D_k is the k-th decimal digit of r} needed to reach a one-digit number, starting at r = n.

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 3, 2, 3, 4, 1, 1, 1, 3, 2, 3, 3, 3, 3, 2, 1, 1, 2, 3, 3, 2, 2, 2, 3, 3, 1, 1, 3, 2, 3, 3, 2, 3, 2, 2, 1, 1, 4, 4, 2, 3, 3, 3, 2, 2, 1, 1, 4, 4, 2, 2, 2, 3, 2, 2, 1, 1, 3, 4, 2, 3, 3, 2, 2, 2, 1, 1, 2, 3, 3, 2, 3, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1
Offset: 0

Views

Author

Jaroslav Krizek, May 01 2010

Keywords

Comments

Conjecture: max(a(n)) = 4.
Assuming that A020665(2) = 86, A020665(3) = 68, A020665(5) = 58, and A020665(7) = 35, this conjecture is true, since in that case the largest power of a decimal digit that has no 0 is 7^35, and of those powers p none have a(p) > 3. The only n for which a(n) = 4 are those where one iteration goes to 6^2, 7^2, 6^3, 7^3, or 2^9.

Examples

			For n = 29: a(29) = 4 because for the number 29 there are 4 steps of defined iteration: {2^9 = 512}, {(5^1)^2 = 25}, {2^5 = 32}, {3^2 = 9}.
		

Crossrefs

Programs

  • PARI
    iter(n)=my(v=eval(Vec(Str(n))));v[1]^prod(i=2,#v,v[i])
    a(n)=my(k=0);while(n>9,k++;n=iter(n));k

Extensions

Corrected, extended, comment, and program from Charles R Greathouse IV, Aug 03 2010

A175403 a(n) is the smallest number m requiring n iterations {((((D_1^D_2)^D_3)^D_4)^...)^D_k to reach a one-digit number starting at r = n, where D_k is the k-th digit D of the number r and k is the digit number of the number r in the decimal expansion of r (A055642)}.

Original entry on oeis.org

0, 10, 24, 26, 29
Offset: 0

Views

Author

Jaroslav Krizek, May 01 2010

Keywords

Comments

Conjecture: sequence is finite.
Assuming that A020665(2) = 86, A020665(3) = 68, A020665(5) = 58 and A020665(7) = 35, a(4) is the last term; see A175402.

Examples

			For n = 4: a(4) = 29 because 29 is the smallest number with 4 steps of defined iteration: {2^9 = 512}, {(5^1)^2 = 25}, {2^5 = 32}, {3^2 = 9}.
		

Crossrefs

Extensions

Comment and edits from Charles R Greathouse IV, Aug 03 2010
Further edits from N. J. A. Sloane, Aug 08 2010. I am still worried that n is mentioned too many times in the definition.
Showing 1-3 of 3 results.