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-20 of 30 results. Next

A145546 Number of distinct values taken by 6^6^...^6 (with n 6's and parentheses inserted in all possible ways).

Original entry on oeis.org

1, 1, 2, 4, 9, 20, 48, 115, 286, 718, 1838, 4750, 12431, 32790, 87225, 233534, 629123, 1703586, 4635181, 12664335, 34734322, 95592704, 263909594
Offset: 1

Views

Author

Jon E. Schoenfield, Oct 13 2008

Keywords

Crossrefs

A145547 Number of distinct values taken by 7^7^...^7 (with n 7's and parentheses inserted in all possible ways).

Original entry on oeis.org

1, 1, 2, 4, 9, 20, 48, 115, 286, 719, 1841, 4762, 12470, 32918, 87628, 234795, 633000, 1715435, 4671098, 12772707, 35059815, 96567161, 266818396, 739344427
Offset: 1

Views

Author

Jon E. Schoenfield, Oct 13 2008

Keywords

Crossrefs

A145548 Number of distinct values taken by 8^8^...^8 (with n 8's and parentheses inserted in all possible ways).

Original entry on oeis.org

1, 1, 2, 4, 9, 20, 48, 115, 286, 719, 1842, 4765, 12482, 32957, 87756, 235198, 634261, 1719312, 4682952, 12808650, 35168306, 96893138, 267794711, 742260014, 2062792103
Offset: 1

Views

Author

Jon E. Schoenfield, Oct 13 2008

Keywords

Crossrefs

A145549 Number of distinct values taken by 9^9^...^9 (with n 9's and parentheses inserted in all possible ways).

Original entry on oeis.org

1, 1, 2, 4, 9, 20, 48, 115, 286, 719, 1842, 4766, 12485, 32969, 87795, 235326, 634664, 1720573, 4686829, 12820504, 35204254, 97001655, 268120807, 743236814, 2065709551, 5755253457
Offset: 1

Views

Author

Jon E. Schoenfield, Oct 13 2008

Keywords

Comments

The subsequence of primes begins 2, 719, 32969. No more through a(26). - Jonathan Vos Post, Apr 02 2011

Crossrefs

A145550 Number of distinct values taken by 10^10^...^10 (with n 10's and parentheses inserted in all possible ways).

Original entry on oeis.org

1, 1, 2, 4, 9, 20, 48, 115, 286, 719, 1842, 4766, 12486, 32972, 87807, 235365, 634792, 1720976, 4688090, 12824381, 35216108, 97037603, 268229329, 743562936, 2066686470, 5758171390, 16079351152
Offset: 1

Views

Author

Jon E. Schoenfield, Oct 13 2008

Keywords

Crossrefs

A082499 Take a string of n x's and insert n-1 ^'s and n-2 pairs of parentheses in all possible legal ways. Sequence gives number of distinct values when x = sqrt(2).

Original entry on oeis.org

1, 1, 2, 4, 8, 17, 38, 88, 206, 497, 1212, 2996
Offset: 1

Views

Author

W. Edwin Clark and Wouter Meeussen, Apr 29 2003

Keywords

Comments

For n=10, largest value is 2^(2^127) = x^(x^(x^(x^(x^6)))) = x^(x^(x^((((((x^x)^x)^x)^x)^x)^x))) and results from the 132nd tree {0,{0,{0,{{{{{{0,0},0},0},0},0},0}}}} or {1,0,1,0,1,0,1,1,1,1,1,1,0,0,0,0,0,0}.

Examples

			For n = 4 there are 5 functions: f1(x) = ((x^x)^x)^x; f2(x) = (x^(x^x))^x; f3(x) = x^((x^x)^x); f4(x) = x^(x^(x^x)); f5(x) = (x^x)^(x^x); but only 4 different values when x = sqrt(2).
		

Crossrefs

Programs

  • Mathematica
    trees[1] = {x};
    trees[n_] := trees[n] = Flatten@Table[ch1^ch2, {k, n-1}, {ch1, trees[k]}, {ch2, trees[n-k]}];
    logs[t_] := ((log/@t) //. {log[a_^b_]:>log[a]b, log[a_ b_]:>log[a]+log[b], log[x]->one, log[one]->0});
    Table[Length@Union[logs@logs@trees[n] /. {one->1, x->Sqrt[2]}, SameTest->Equal], {n, 9}] (* Andrei Zabolotskii, Jan 03 2025 *)

Extensions

Term a(11) = 1212 added by Vladimir Reshetnikov, Oct 29 2011
a(1) added by Franklin T. Adams-Watters, Nov 03 2011
a(12) from Andrei Zabolotskii, Jul 23 2025

A198683 Number of distinct values taken by i^i^...^i (with n i's and parentheses inserted in all possible ways) where i = sqrt(-1) and ^ denotes the principal value of the exponential function.

Original entry on oeis.org

1, 1, 2, 3, 7, 15, 34, 77, 187, 462, 1152
Offset: 1

Views

Author

Vladimir Reshetnikov, Oct 28 2011

Keywords

Comments

There are C(n-1) ways of inserting the parentheses (where C is a Catalan number, A000108), but not all arrangements produce different values.
At n=10, the expression i^(i^(((i^i)^i)^(i^((i^i)^(i^i))))) evaluates to a large complex number, C = -6.795047376...*10^34 - i*6.044219499...*10^34; as a result, i^C, which arises at n=11, is very large, having a magnitude of e^((-Pi/2)*(-6.044219499...*10^34)) = 4.1007...*10^41232950809707420597749203381002924. - Jon E. Schoenfield, Nov 21 2015
Note that if a is a REAL positive number, the number of different values of a^a^...^a with n a's is at most A000081(n). But this relies on the identity (x^y)^z = (x^z)^y = x^(yz), which is not always true for complex numbers with the principal value of the power function. Thus if Y = ((i^i)^i)^i, we have (i^i)^Y / (i^Y)^i = exp(-2 Pi). - Robert Israel, Nov 27 2015 [So for the present sequence, we know a(n) <= A000108(n-1), but we do not know that a(n) <= A000081(n). - N. J. A. Sloane, Nov 28 2015]

Examples

			a(1) = 1: there is one value, i.
a(2) = 1: there is one value, i^i = exp(i Pi / 2)^i = exp(-Pi/2) = 0.2079...
a(3) = 2: there are two values: (i^i)^i = i^(-1) = 1/i = -i and i^(i^i) = i^0.2079... = exp(0.2079... i Pi / 2) = 0.9472... + 0.3208... i.
a(4) = 3: there are 5 possible parenthesizations but they give only 3 distinct values: i^(i^(i^i)), i^((i^i)^i) = ((i^i)^i)^i, (i^i)^(i^i) = (i^(i^i))^i.
		

Crossrefs

Programs

  • Mathematica
    iParens[1] = {I}; iParens[n_] := iParens[n] = Union[Flatten[Table[Outer[Power, iParens[k], iParens[n - k]], {k, n - 1}]], SameTest -> Equal]; Table[Length[iParens[n]], {n, 10}]

Extensions

a(11) and a(12) (unconfirmed) from Alonso del Arte, Nov 17 2011
a(12) is said to be either 2919 or 2926. The value will not be included in the data section until it has been confirmed. - N. J. A. Sloane, Nov 26 2015

A199205 Number of distinct values taken by 4th derivative of x^x^...^x (with n x's and parentheses inserted in all possible ways) at x=1.

Original entry on oeis.org

1, 1, 2, 4, 9, 17, 30, 50, 77, 113, 156, 212, 279, 355, 447, 560, 684, 822, 985, 1171, 1375, 1599, 1856, 2134, 2445, 2769, 3125, 3519, 3939, 4376, 4857, 5372, 5914, 6484, 7083, 7717, 8411, 9130, 9882, 10683, 11524, 12393
Offset: 1

Views

Author

Alois P. Heinz, Nov 03 2011

Keywords

Examples

			a(5) = 9 because the A000108(4) = 14 possible parenthesizations of x^x^x^x^x lead to 9 different values of the 4th derivative at x=1: (x^(x^(x^(x^x)))) -> 56; (x^(x^((x^x)^x))) -> 80; (x^((x^(x^x))^x)), (x^((x^x)^(x^x))) -> 104; ((x^x)^(x^(x^x))), ((x^(x^(x^x)))^x) -> 124; ((x^(x^x))^(x^x)) -> 148; (x^(((x^x)^x)^x)) -> 152; ((x^x)^((x^x)^x)), ((x^((x^x)^x))^x) -> 172; (((x^x)^x)^(x^x)), (((x^(x^x))^x)^x), (((x^x)^(x^x))^x) -> 228; ((((x^x)^x)^x)^x) -> 344.
		

Crossrefs

Cf. A000081 (distinct functions), A000108 (parenthesizations), A000012 (first derivatives), A028310 (2nd derivatives), A199085 (3rd derivatives), A199296 (5th derivatives), A002845, A003018, A003019, A145545, A145546, A145547, A145548, A145549, A145550, A082499, A196244, A198683, A215703, A215834. Column k=4 of A216368.

Programs

  • Maple
    f:= proc(n) option remember;
          `if`(n=1, {[0, 0, 0]},
                    {seq(seq(seq( [2+g[1], 3*(1 +g[1] +h[1]) +g[2],
                     8 +12*g[1] +6*h[1]*(1+g[1]) +4*(g[2]+h[2])+g[3]],
                     h=f(n-j)), g=f(j)), j=1..n-1)})
        end:
    a:= n-> nops(map(x-> x[3], f(n))):
    seq(a(n), n=1..20);
  • Mathematica
    f[n_] := f[n] = If[n == 1, {{0, 0, 0}}, Union @ Flatten[#, 3]& @ {Table[ Table[Table[{2 + g[[1]], 3*(1 + g[[1]] + h[[1]]) + g[[2]], 8 + 12*g[[1]] + 6*h[[1]]*(1 + g[[1]]) + 4*(g[[2]] + h[[2]]) + g[[3]]}, {h, f[n - j]}], {g, f[j]}], {j, 1, n - 1}]}];
    a[n_] := Length @ Union @ (#[[3]]& /@ f[n]);
    Table[an = a[n]; Print["a(", n, ") = ", an]; an, {n, 1, 32}] (* Jean-François Alcover, Jun 08 2018, after Alois P. Heinz *)

Extensions

a(41)-a(42) from Alois P. Heinz, Jun 01 2015

A199296 Number of distinct values taken by 5th derivative of x^x^...^x (with n x's and parentheses inserted in all possible ways) at x=1.

Original entry on oeis.org

1, 1, 2, 4, 9, 20, 45, 92, 182, 342, 601, 982, 1499, 2169, 2970, 3994, 5297, 6834, 8635, 10714, 13121, 16104, 19674, 23868, 28453, 33637, 39630, 46730
Offset: 1

Views

Author

Alois P. Heinz, Nov 04 2011

Keywords

Examples

			a(4) = 4 because the A000108(3) = 5 possible parenthesizations of x^x^x^x lead to 4 different values of the 5th derivative at x=1: (x^(x^(x^x))) -> 360; (x^((x^x)^x)) -> 590; ((x^(x^x))^x), ((x^x)^(x^x)) -> 650; (((x^x)^x)^x) -> 1110.
		

Crossrefs

Cf. A000081 (distinct functions), A000108 (parenthesizations), A000012 (first derivatives), A028310 (2nd derivatives), A199085 (3rd derivatives), A199205 (4th derivatives), A002845, A003018, A003019, A145545, A145546, A145547, A145548, A145549, A145550, A082499, A196244, A198683, A215703, A215835. Column k=5 of A216368.

Programs

  • Maple
    f:= proc(n) option remember;
          `if`(n=1, {[0, 0, 0, 0]},
                {seq(seq(seq([2+g[1], 3*(1 +g[1] +h[1]) +g[2],
                 8 +12*g[1] +6*h[1]*(1+g[1]) +4*(g[2]+h[2])+g[3],
                 10+50*h[1]+10*h[2]+5*h[3]+(30+30*h[1]+10*h[2]
                 +15*g[1])*g[1]+(20+10*h[1])*g[2]+5*g[3]+g[4]],
                  h=f(n-j)), g=f(j)), j=1..n-1)})
        end:
    a:= n-> nops(map(x-> x[4], f(n))):
    seq(a(n), n=1..20);
  • Mathematica
    f[n_] := f[n] = If[n == 1, {{0, 0, 0, 0}}, Union@Flatten[#, 3]& @ {Table[ Table[Table[{2 + g[[1]], 3*(1 + g[[1]] + h[[1]]) + g[[2]], 8 + 12*g[[1]] + 6*h[[1]]*(1 + g[[1]]) + 4*(g[[2]] + h[[2]]) + g[[3]], 10 + 50*h[[1]] + 10*h[[2]] + 5*h[[3]] + (30 + 30*h[[1]] + 10*h[[2]] + 15*g[[1]])*g[[1]] + (20 + 10*h[[1]])*g[[2]] + 5*g[[3]] + g[[4]]}, {h, f[n - j]}], {g, f[j]}], {j, 1, n - 1}]}];
    a[n_] := Length@Union@(#[[4]]& /@ f[n]);
    Table[an = a[n]; Print["a(", n, ") = ", an]; an, {n, 1, 24}] (* Jean-François Alcover, Sep 01 2023, after Alois P. Heinz *)

A199883 Number of distinct values taken by 6th derivative of x^x^...^x (with n x's and parentheses inserted in all possible ways) at x=1.

Original entry on oeis.org

1, 1, 2, 4, 9, 20, 48, 113, 262, 591, 1263, 2505, 4764, 8479, 14285, 22871, 35316, 52755, 76517, 107826, 148914, 202715, 270622
Offset: 1

Views

Author

Alois P. Heinz, Nov 11 2011

Keywords

Examples

			a(4) = 4 because the A000108(3) = 5 possible parenthesizations of x^x^x^x lead to 4 different values of the 6th derivative at x=1: (x^(x^(x^x))) -> 2934; ((x^x)^(x^x)), ((x^(x^x))^x) -> 4908; (x^((x^x)^x)) -> 5034; (((x^x)^x)^x) -> 8322.
		

Crossrefs

Cf. A000081 (distinct functions), A000108 (parenthesizations), A000012 (first derivatives), A028310 (2nd derivatives), A199085 (3rd derivatives), A199205 (4th derivatives), A199296 (5th derivatives), A002845, A003018, A003019, A145545, A145546, A145547, A145548, A145549, A145550, A082499, A196244, A198683, A215703, A215836. Column k=6 of A216368.

Programs

  • Maple
    f:= proc(n) option remember;
          `if`(n=1, {[0, 0, 0, 0, 0]},
                    {seq(seq(seq([2+g[1], 3*(1 +g[1] +h[1]) +g[2],
                     8 +12*g[1] +6*h[1]*(1+g[1]) +4*(g[2]+h[2])+g[3],
                     10+50*h[1]+10*h[2]+5*h[3]+(30+30*h[1]+10*h[2]
                     +15*g[1])*g[1]+(20+10*h[1])*g[2]+5*g[3]+g[4],
                     45*h[1]*g[1]^2+(120+60*h[2]+15*h[3]+60*g[2]+
                     270*h[1])*g[1]+54+15*h[3]+30*g[3]+6*g[4]+
                     60*h[1]*g[2]+15*h[1]*g[3]+30*h[1]+ 20*h[2]*g[2]+
                     100*h[2]+90*h[1]^2+g[5]+60*g[2]+6*h[4]],
                     h=f(n-j)), g=f(j)), j=1..n-1)})
        end:
    a:= n-> nops(map(x-> x[5], f(n))):
    seq(a(n), n=1..15);

Extensions

a(22)-a(23) from Alois P. Heinz, Sep 26 2014
Previous Showing 11-20 of 30 results. Next