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.

A175422 Sequence of numbers after 3rd step of iteration defined in A175419.

This page as a plain text file.
%I A175422 #17 Feb 25 2024 10:21:33
%S A175422 0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,4,9,6,25,36,1,1,1,0,1,8,
%T A175422 6561,1,25,216,1,8,1,0,1,6,1,1,1,1,1,1,1,0,1,8,1,1,
%U A175422 867361737988403547205962240695953369140625,1,1,1,1,0,1,1,1,1,1,1,1,1,1
%N A175422 Sequence of numbers after 3rd step of iteration defined in A175419.
%e A175422 For n = 33: a(33) = 6561 because for the number 33 there are 4 steps of defined iteration: {3^3 = 27}, {7^2 = 49}, {9^4 = 6561}, {((1^6)^5)^6 = 1} and the 3rd step of the iteration ends with 6561.
%p A175422 A175420 := proc(n) option remember; local dgs,a,i ; if n = 0 then return 0 ; end if; dgs := convert(n,base,10) ; a := op(1,dgs) ; for i from 2 to nops(dgs) do a := a^ op(i,dgs) ; end do: a ; end proc:
%p A175422 A175421 := proc(n) A175420(A175420(n)) ; end proc:
%p A175422 A175422 := proc(n) A175420(A175421(n)) ; end proc:
%p A175422 for n from 0 do printf("%d,\n",A175422(n)) ; end do; # _R. J. Mathar_, May 12 2010
%t A175422 Unprotect[Power]; Power[0, 0] = 1; Protect[Power]; A175420[0]=0; A175420[n_]:=If[(len=IntegerLength[n])==1, n, Last[list=IntegerDigits[n]]^Product[Part[Drop[list, -1], i], {i, len-1}]]; a[n_]:=Nest[A175420[#]&,n,3]; Array[a, 70, 0] (* _Stefano Spezia_, Feb 25 2024 *)
%Y A175422 Cf. A175419, A175420, A175421, A175423, A175424, A175425, A175426, A175427.
%K A175422 nonn,base
%O A175422 0,3
%A A175422 _Jaroslav Krizek_, May 09 2010
%E A175422 7 more terms from _R. J. Mathar_, May 12 2010