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-19 of 19 results.

A297025 Number of iterations of A220096 required to reach 0 starting from n.

Original entry on oeis.org

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

Views

Author

Peter Kagey and Alec Jones, Dec 24 2017

Keywords

Comments

Records occur at indices 0, 1, 2, 3, 5, 7, 11, 22, 23, 46, 47, 94, ... (see A297026).

Examples

			For n = 14, a(14) = 6 because six iterations are required to reach zero:
A220096(14) = 7,
A220096(7)  = 6,
A220096(6)  = 3,
A220096(3)  = 2,
A220096(2)  = 1, and
A220096(1)  = 0.
		

Crossrefs

Cf. A220096. Positions of records at A297026.

Programs

  • Mathematica
    g[n_Integer] := If[n == 1, 0, Block[{fi = FactorInteger@ n}, If[Plus @@ (Last@# & /@ FactorInteger@n) == 1, n -1, n/fi[[1, 1]] ]]]; f[n_] := Length@ NestWhileList[g, n, # > 0 &] -1; Array[f, 86, 0] (* Robert G. Wilson v, Dec 24 2017 *)
  • PARI
    f(n) = if (n==1, 0, isprime(n), n-1, my(d=divisors(n)); d[#d-1]);
    a(n) = my(nb = 0); while (n, n = f(n); nb++); nb; \\ Michel Marcus, Dec 24 2017

A350603 Irregular triangle read by rows: row n lists the elements of the set S_n in increasing order, where S_0 = {0}, and S_n is obtained by applying the operations x -> x+1 and x -> 2*x to S_{n-1}.

Original entry on oeis.org

0, 0, 1, 0, 1, 2, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 5, 6, 8, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 18, 20, 24, 32, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 28, 32, 33, 34, 36, 40, 48, 64
Offset: 0

Views

Author

N. J. A. Sloane, Jan 12 2022, following a suggestion from James Propp

Keywords

Comments

Theorem: S_n contains Fibonacci(n+2) elements.
Proof from Adam P. Goucher, Jan 12 2022 (Start)
Let 'D' and 'I' be the 'double' and 'increment' operators, acting on 0 from the right. Then every element of S_n can be written as a length-n word over {D,I}. E.g., S_4 contains
0: DDDD
1: DDDI
2: DDID
3: DIDI
4: DIDD
5: IDDI
6: IDID
8: IDDD
We can avoid having two adjacent 'I's (because we can transform it into an equivalent word by prepending a 'D' -- which has no effect -- and then replacing the first 'DII' with 'ID').
Subject to the constraint that there are no two adjacent 'I's, these 'II'-less words all represent distinct integers (because of the uniqueness of binary expansions).
So we're left with the problem of enumerating length-n words over the alphabet {I, D} which do not contain 'II' as a substring. These are easily seen to be the Fibonacci numbers because we can check n=0 and n=1 and verify that the recurrence relation holds since a length-n word is either a length-(n-1) word followed by 'D' or a length-(n-2) word followed by 'DI'. QED (End)
From Rémy Sigrist, Jan 12 2022: (Start)
For any m >= 0, the value m first appears on row A056792(m).
For any n > 0: row n minus row n-1 corresponds to row n of A243571.
(End)

Examples

			The first few sets S_n are:
[0],
[0, 1],
[0, 1, 2],
[0, 1, 2, 3, 4],
[0, 1, 2, 3, 4, 5, 6, 8],
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16],
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 18, 20, 24, 32],
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 28, 32, 33, 34, 36, 40, 48, 64],
...
		

Crossrefs

Programs

  • Maple
    T:= proc(n) option remember; `if`(n=0, 0,
          sort([map(x-> [x+1, 2*x][], {T(n-1)})[]])[])
        end:
    seq(T(n), n=0..8);  # Alois P. Heinz, Jan 12 2022
  • Mathematica
    T[n_] := T[n] = If[n==0, {0}, {#+1, 2#}& /@ T[n-1] // Flatten //
          Union];
    Table[T[n], {n, 0, 8}] // Flatten (* Jean-François Alcover, May 06 2022, after Alois P. Heinz *)
  • Python
    from itertools import chain, islice
    def A350603_gen(): # generator of terms
        s = {0}
        while True:
            yield from sorted(s)
            s = set(chain.from_iterable((x+1,2*x) for x in s))
    A350603_list = list(islice(A350603_gen(),30)) # Chai Wah Wu, Jan 12 2022

Extensions

Definition made more precise by Chai Wah Wu, Jan 12 2022

A368423 The least number of applications of functions in the Wainer hierarchy to reach n, starting from 0.

Original entry on oeis.org

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

Views

Author

Jayde S. Massmann, Jan 01 2024

Keywords

Comments

This is initially the same as A056792, and in fact a(n) is less than or equal to A056792(n) for all n, since adding one and doubling correspond to precisely the zeroth and first functions in the fast-growing hierarchy (regardless of which assignment of fundamental sequences is used).
This function is slow-growing, satisfying a(n) <= n for all n. Also, values of a(n) at odd numbers n can be computed from those at even numbers, since, if n is even, the only way to get from 0 to n+1 is to get from 0 to n and then add one. In particular, a(2n+1) = a(2n)+1 for all n. Additionally, if n is odd, then similarly the shortest way to get from 0 to 2n is to get from 0 to n and then double, and therefore a(4n+2) = a(2n+1)+1 = a(2n)+2.
In general, a(2n) <= a(n)+1, a(2^k*n) <= a(n)+k, and a(2^n*n) <= a(n)+1 (as opposed to a(n)+n). This is because 2^n*n is the second function in the fast-growing hierarchy, obtained by applying the first function (doubling) n times.
Let a_b(n), for an ordinal b > 0, denote a(x) but only considering the functions in the fast-growing hierarchy arising strictly before stage b. Then a_1(n) = n, a_2(n) = A056792(n), and a(n) <= a_b(n) for all b, providing slower and closer approximations to a (since, straightforwardly, a_b(x) <= a_c(x) for all x whenever c < b). Since the "limit" of the Wainer hierarchy is e_0, one has a(x) = a_e_0(x). One last remark regarding these minor modifications is that, if b is a limit ordinal, then a_b = a_(b+1), since any application of f_b, where f_b denotes the b-th function in the fast-growing hierarchy, can be converted into an application of f_c for c < b without changing the input. The first "obligatory" usage of f_(w+1), i.e., the first point of difference between a_(w+2) and a_w, occurs at n = f_(w+1)(2) = f_8(8). This is smaller than Graham's number but far larger than any reasonable power tower.
The n with a(n) < 3 are precisely 0, f_b(0) and f_b(1) for b < e_0. Using transfinite induction and case classification, one sees that if b is zero or successor then f_b(0) is 0 or 1 and f_b(1) is 2, and if b is a limit then one can apply fundamental sequences iteratively until one reaches a non-limit index to get that f_b(0) is, again, either 0, 1 or 2. Therefore, there are finitely many n so that a(n) < 3, but infinitely many n so that a(n) = 3, and therefore the limit infimum of this sequence is precisely 3. This is another sense in which it may be considered slow-growing.
The values of a(n) for n < 91 were first manually computed by Jayde Massmann and Umut Tahiroğlu in personal correspondence. Adrian Kwon wrote a program to automatically compute a(n), which lended to computing the values of a(n) for 91 <= n < 101.

Examples

			For n = 2048, a(2048) = 3 since 2048 = 2*2^2*2^(2*2^2) = f_2(f_2(2)) = f_3(2) = f_3(f_0(1)) = f_3(f_0(f_0(0))), so 2048 can be reached in 3 steps.
		

Crossrefs

Cf. A056792.

Formula

a(n) <= A056792(n).

A061295 Minimal number of steps to get from 0 to n by (a) adding 1 or (b) subtracting 1 or (c) multiplying by 3.

Original entry on oeis.org

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

Views

Author

Henry Bottomley, Jun 06 2001

Keywords

Comments

Records are a(0) = 0, a(1) = 1, a(2) = 2, a(4) = 3, a(5) = 4, a(11) = 5, a(14) = 6, a(32) = 7, a(41) = 8, a(95) = 9, a(122) = 10, a(284) = 11, a(365) = 12, a(851) = 13, a(1094) = 14, a(2552) = 15, a(3281) = 16, a(7655) = 17, a(9842) = 18, a(22964) = 19, .... - Charles R Greathouse IV, Jan 03 2017

Examples

			a(20) = 6 since 20 = (0 + 1 + 1)*3*3 + 1 + 1 = ((0 + 1 + 1)*3 + 1)*3 - 1.
		

Crossrefs

Cf. A056792.

Programs

  • PARI
    steps(n,mx=3^(n-1))=my(v,s=vector(mx),u=[0],t); for(i=1,n, v=List(); for(j=1,#u, t=u[j]; if(!setsearch(u,3*t), if(t>0 && 3*t<=mx && s[3*t]==0, s[3*t]=i); listput(v,3*t)); if(!setsearch(u,t-1), if(t>1 && t-1<=mx && s[t-1]==0, s[t-1]=i); listput(v,t-1)); if(!setsearch(u,t+1), if(t>=0 && t+1<=mx && s[t+1]==0, s[t+1]=i); listput(v,t+1))); u=select(k->k<1 || k>mx || s[k]==i, Set(v))); for(i=1,#s, if(s[i]==0, return(concat([0], s[1..i-1])))); concat([0], s); \\ Charles R Greathouse IV, Jan 03 2017

Formula

a(3n)=a(n)+1; a(3n+1)=a(n)+2; a(3n+2)=a(n+1)+2; a(0)=0, a(1)=1, a(2)=2.

A061339 Minimal number of steps to get from 0 to n by (a) adding 1 or (b) subtracting 1 or (c) multiplying by 2.

Original entry on oeis.org

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

Views

Author

Henry Bottomley, Jun 06 2001

Keywords

Examples

			a(23)=7 since 23=(0+1+1+1)*2*2*2-1.
		

Crossrefs

Cf. A056792.

Formula

a(2n)=a(n)+1; a(2n+1)=min{a(n)+2, a(n+1)+2}; a(0)=0, a(1)=1.

A290801 a(n) is the least number of steps to get to n from 0 using only the operations of incrementation, decrementation, and squaring.

Original entry on oeis.org

0, 1, 2, 3, 3, 4, 5, 6, 5, 4, 5, 6, 7, 7, 6, 5, 4, 5, 6, 7, 8, 9, 8, 7, 6, 5, 6, 7, 8, 9, 10, 11, 10, 9, 8, 7, 6, 7, 8, 9, 10, 11, 12, 13, 12, 11, 10, 9, 8, 7, 8, 9, 10, 11, 12, 13, 14, 13, 12, 11, 10, 9, 8, 7, 6, 7, 8, 9, 10, 11, 12, 13, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 6, 7, 8, 9, 10, 11, 12, 13
Offset: 0

Views

Author

Ely Golden, Aug 10 2017

Keywords

Comments

a(n) is the shortest number of commands, excluding the output command, to write the number n in the esoteric programming language Deadfish (see link Deadfish programming language specification for more information), ignoring the rule of setting n to zero if n ever equals 256.
a(n) <= n, since applying the incrementation operation n times trivially yields n.
a(n+1) <= a(n)+1, a(n-1) <= a(n)+1, and a(n^2) <= a(n)+1. This is because it is always possible to apply some valid operation to a series of valid operations that yields n in order to yield n+1, n-1, or n^2, respectively.
These also imply that |a(n+1)-a(n)| <= 1, since a(n-1) <= a(n)+1 implies a(n) <= a(n+1)+1 implies -a(n+1) <= 1-a(n) implies a(n+1) >= a(n)-1. Therefore the first differences of this sequence will always be -1, 0, or 1.
For n >= 4, at least one squaring operation must be used in the sequence of length a(n) yielding n. This is because using only incrementation or decermentation yields a sequence at least as long as n, but a(4) < 4, and because a(n+1) <= a(n)+1, thus a(n) < n for n >= 4, which leads to a contradiction.

Examples

			a(5) = 4 since increment(square(increment(increment(0)))) is the shortest possible sequence of increment, decrement, or square operations which results in 5, and this sequence has 4 operations.
		

Crossrefs

Cf. A056792.

Programs

  • Mathematica
    a[n_] := a[n] = If[n < 4, n, Block[{s = Floor@ Sqrt@ n}, 1 + If[s^2 == n, a[s], Min[a[s] + n - s^2, a[s + 1] + (s + 1)^2 - n]]]]; Array[a, 90, 0] (* Giovanni Resta, Aug 11 2017 *)
  • Python
    #Second program, after Mathematica code
    from sympy.core.cache import cacheit
    from sympy.core.power import isqrt
    @cacheit
    def a(n):
        if n<4: return n
        else:
            s=isqrt(n)
            return 1 + (a(s) if s**2==n else min(a(s) + n - s**2, a(s + 1) + (s + 1)**2 - n))
    print([a(n) for n in range(91)]) # Indranil Ghosh, Aug 12 2017

A363686 Irregular triangle T(n, k) read by rows which represents a predecessor number system for Collatz sequences (see Comments for precise definition).

Original entry on oeis.org

5, 3, 17, 23, 25, 11, 65, 15, 73, 59, 33, 7, 185, 43, 257, 95, 105, 219, 97, 39, 249, 363, 385, 175, 9, 123, 929, 199, 57, 171, 1025, 63, 297, 411, 481, 487, 633, 747, 129, 367, 393, 507, 1697, 583, 1849, 939, 513, 287, 233, 347, 1377, 423, 1529, 619, 3969, 815, 265, 1403, 1441, 1479, 1593, 683, 4097
Offset: 1

Views

Author

Paul Conradi, Jun 15 2023

Keywords

Comments

Binary tree that contains odd numbers. Predecessors to numbers of Collatz sequences are determined.
The variables u and d are used here to distinguish between one and two consecutive even numbers in a Collatz sequence: If there is one even number between two odd numbers in the Collatz sequence, then this is a u-evolution; if there are two even numbers, then this is a d-evolution: 3 is a u-predecessor of 5, 17 is a d-predecessor of 13.
Each integer is assigned to a mod residue class from A000079. The offset 5 receives the modulo 8. Later the u-number gets the doubled modulo, the d-number gets the quadrupled modulo. These attached modulo are used to increase the base in the design for predecessors if necessary. The exponent results from the sequence A119476 starting with the second term.
Two predecessors are determined for every integer backwards to the procedure for the Collatz problem: a u-predecessor and a d-predecessor.
The main rule is that we calculate u = (m*2-1)/3 and d = (m*4-1)/3. If this calculation does not result in an integer, we add to m its associated modulus n: m' = m + n.
First step: 5*2 = 10, next: 10-1 = 9, next: 9/3 = 3. As described above, 3 is a u-predecessor of 5. To determine the d-predecessor, 5 is already used, so we have to add the modulus 8: 5+8 = 13. The d-predecessor to 13 has to use the factor 4. So 13*4 = 52 and 52-1 = 51 and 51/3 is 17. 17 is the d-predecessor of 5.
So 5 has the two generating predecessors 3 and 17. As described above, the following attached modulo now result: 3 mod 16 and 17 mod 32.
For numbers m divisible by 3, the predecessor is formed with the next element of the residue class. In the same way - as described above - if (m*2-1)/3 or (m*4-1)/3 doesn't work, the predecessor is formed with the next element m' of the residue class.
Example: u-predecessor of 3: 3 has no predecessor. 19 (3+16) does not work for u-formation, because 2*19-1 = 37 is not divisible by 3. So the predecessor of 35 (3+16+16) is formed. It is 23, because 35*2-1 = 69 and 69/3 = 23.
Example: d-predecessor of 3: 19 (3+16): 19*2*2-1 = 75. 75/3 = 25.
Example: u-predecessor of 17: (17*2-1)/3 = 11.
Example: d-predecessor: 17+32 = 49 is taken. 49*4-1 = 195. 195/3 = 65.
Note: There is a canonical u-predecessor and a d-predecessor for every odd number.
Sketch of a proof of this:
If we look for an odd Collatz predecessor for an odd number m > 1, there are only three cases:
1) m is divisible by 3;
2) m has a u-predecessor, so m*2-1 is divisible by 3;
3) m has a d-predecessor, so m*4-1 is divisible by 3.
The addition (m' = m + 2^n) of m to a power of 2 forces these cases to alternate, so there is no other possibility at all. This follows from modular arithmetic.
Note: If we start the corresponding Collatz sequence with a number T(n, k), then there are at least n odd numbers in this Collatz sequence.
Conjecture: With the associated residue classes, this sequence forms a complete decomposition of the odd integers. In other words: If we form the complete residue classes to each number from this sequence, then all odd numbers > 1 occur once.
Remark: Even if it can be shown that every odd integer can be transformed by a Collatz sequence into a number equivalent to 5 mod 8, this does not mean that the sequence already ends immediately in the 4-2-1 cycle. For example, T(4, 2) = 73 is transformed into 125, but then jumps up again to T(14, k) = 47.

Examples

			Triangle begins:
    5;
    3,  17;
   23,  25,  11, 65;
   15,  73,  59, 33,  7, 185,  43, 257;
   95, 105, 219, 97, 39, 249, 363, 385, 175, 9, 123, 929, 199, 57, 171, 1025;
   ...
For n = 2, T(2, 1) = 3 because 3 is an odd Collatz-predecessor of 5.
		

Crossrefs

Row lengths give A000079.
Column 1 gives A283507 starting from its third term.
Right border gives A052539 starting from its second term.

Programs

  • MATLAB
    function a = A363686( max_n )
        a = 5; r = 8;
        for n = 2:max_n
            nh = floor(n/2); e = 2^(1 + mod(n, 2)); k = a(nh);
            if mod((k*e-1), 3) == 0
                k = (k*e-1)/3;
            else
                k = k + r(nh);
                while mod((k*e-1), 3) ~= 0
                    k = k + r(nh);
                end
                k = (k*e-1)/3;
            end
            r(n) = r(nh)*e; a(n) = k;
        end
    end % Thomas Scheuerle, Jun 23 2023
    
  • PARI
    A056792(n)=n=binary(n); sum(i=1, #n, n[i])+#n-1;
    a(n)=if(n==1, return(5), for(x=0, 2, my(k=a(floor(n/2))+x*2^(A056792(floor(n/2))+2)); if((k*2^(1+(n%2))-1)%3==0, return((k*2^(1+(n%2))-1)/3)))) \\ Thomas Scheuerle, Jun 23 2023

Formula

For n > 1 holds: (3*a(n) + 1)/2^(1 + mod(n,2)) - a(floor(n/2)) = r*2^(A056792(floor(n/2)) + 2) with for r the least integer from the set {0, 1, 2}. - Thomas Scheuerle, Jun 23 2023
Conjecture: Every odd number > 1 is congruent to a(k) mod 2^(A056792(floor(k/2)) for some k.

A091828 a(n)=n-2*valuation(A000254(n),3).

Original entry on oeis.org

1, 0, 3, 4, 5, 2, 1, 4, 5, 6, 7, 6, 7, 8, 7, 8, 9, 4, 5, 6, 3, 2, 5, 6, 7, 8, 7, 8, 9, 8, 9, 10, 9, 10, 11, 8, 9, 10, 9, 10, 11, 10, 11, 12, 9, 10, 11, 10, 11, 12, 11, 12, 13, 6, 7, 8, 7, 8, 9, 8, 9, 10, 5, 6, 7, 4, 5, 6, 7, 8, 9, 8, 9, 10, 9, 10, 11, 10, 11, 12, 9, 10, 11, 10, 11, 12, 11, 12, 13
Offset: 1

Views

Author

Benoit Cloitre, Mar 09 2004

Keywords

Crossrefs

Cf. A056792.

Programs

  • PARI
    a(n)=if(n<2,1,n-2*valuation(n!*sum(i=1,n,1/i),3))

Formula

For n>7 a(3n)=a(n)+2; a(3n+1)=a(n)+3; (3n+2)=a(n)+4

A365396 Inverse permutation to A243571.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 8, 7, 9, 10, 13, 11, 14, 15, 21, 12, 16, 17, 22, 18, 23, 24, 34, 19, 25, 26, 35, 27, 36, 37, 55, 20, 28, 29, 38, 30, 39, 40, 56, 31, 41, 42, 57, 43, 58, 59, 89, 32, 44, 45, 60, 46, 61, 62, 90, 47, 63, 64, 91, 65, 92, 93, 144, 33, 48, 49, 66
Offset: 1

Views

Author

Alexander Khudyakov, Sep 03 2023

Keywords

Crossrefs

Programs

  • PARI
    a(n) = my(L = logint(n, 2), wt = hammingweight(n), A = L + wt, m = 0); fibonacci(A+1) + sum(i=1, L, binomial(i-1, A-i)) + sum(j=0, L-1, if(bittest(n, j), m++; binomial(j, m)))

Formula

a(n) = A000045(b(n) + 1) + Sum_{i=1..A000523(n)} binomial(i-1, b(n) - i) + Sum_{j=1..A000120(n) - 1} binomial(A133457(n, j), j) where b(n) = A056792(n).
Previous Showing 11-19 of 19 results.