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

A230697 Length of shortest addition-multiplication chain for n.

Original entry on oeis.org

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

Views

Author

Harry Altman, Oct 27 2013

Keywords

Examples

			A shortest addition-multiplication chain for 16 is (1,2,4,16), of length a(16) = 3.
A shortest addition-multiplication chain for 281 is (1,2,4,5,16,25,256,281), of length a(281) = 7. This is the first case where not all terms in some shortest chain are the sum or product of the immediately preceding term and one more preceding term. In other words, 281 is the smallest of the analog of non-Brauer numbers (A349044) for addition-multiplication chains. The next ones are 913, 941, 996, 997, 998, 1012, 1077, 1079, 1542, 1572, 1575, 1589, 1706, 1792, 1795, 1816, 1864, ... . - _Pontus von Brömssen_, May 02 2025
		

Crossrefs

A383002 Number of integers with a shortest addition-multiplication chain of length n.

Original entry on oeis.org

1, 1, 2, 5, 16, 63, 331, 2239, 19909, 225615, 3167570
Offset: 0

Views

Author

Pontus von Brömssen, Apr 12 2025

Keywords

Comments

a(n) is the number of occurrences of n in A230697.

Crossrefs

A384484 Smallest number with shortest addition-composition chain of length n, starting with 1 and x, i.e., smallest k such that A384483(k) = n.

Original entry on oeis.org

1, 2, 3, 5, 7, 11, 19, 70, 167, 1239, 7123
Offset: 0

Views

Author

Pontus von Brömssen, Jun 02 2025

Keywords

Comments

See A384480 and A384483 for details.

Crossrefs

Cf. A003064 (addition only), A383001 (addition and multiplication), A384385 (addition, multiplication, and composition), A384480, A384481, A384483, A384485.

A384385 Smallest number with shortest addition-multiplication-composition chain of length n, starting with 1 and x, i.e., smallest k such that A384384(k) = n.

Original entry on oeis.org

1, 2, 3, 5, 7, 13, 23, 95
Offset: 0

Views

Author

Pontus von Brömssen, Jun 01 2025

Keywords

Comments

See A384383 and A384384 for details.

Crossrefs

Cf. A383001 (addition and multiplication), A384383, A384384, A384386, A384484 (addition and composition).

A383142 Smallest positive integer with shortest addition-subtraction chain of length n.

Original entry on oeis.org

1, 2, 3, 5, 7, 11, 19, 29, 53, 87, 151, 267, 461, 811, 1383, 2357, 4277, 7499, 14003, 25931, 44269, 87773, 152947, 271563
Offset: 0

Views

Author

Jinyuan Wang, Apr 17 2025

Keywords

Examples

			a(8) = 53 because 53 is the smallest positive integer k such that A128998(k) = 8. An example of a shortest addition-subtraction chain for 53 is (1 2 3 4 7 14 25 28 53). a(8) > A003064(8) because an optimal chain for A003064(8) = 47 has length 7: (1 2 3 6 12 24 23 47).
		

Crossrefs

Formula

a(n) >= A003064(n).

A383336 Smallest number with shortest addition-multiplication-exponentiation chain of length n.

Original entry on oeis.org

1, 2, 3, 5, 7, 13, 23, 79, 214, 1418, 5991
Offset: 0

Views

Author

Pontus von Brömssen, Apr 27 2025

Keywords

Comments

For n >= 1, the largest number with shortest addition-multiplication-exponentiation chain of length n is A173566(n).

Examples

			a(7) = 79 because all smaller numbers have addition-multiplication-exponentiation chains of length at most 6, but the shortest chain for 79 has length 7. One such chain is (1, 2, 3, 5, 32, 37, 42, 79). (There are also such chains that do not use exponentiation, such as (1, 2, 3, 4, 5, 15, 75, 79).)
		

Crossrefs

Showing 1-6 of 6 results.