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

A355015 The least integer with cost n, using the cost function used in sequence A354914.

Original entry on oeis.org

1, 2, 3, 7, 23, 719, 1169951
Offset: 0

Views

Author

Stan Wagon, Joseph DeVincentis, and Al Zimmermann, Jun 15 2022

Keywords

Comments

The values up to 1169951 were computed by Joseph DeVincentis, Stan Wagon, and Al Zimmermann. The values appear to rise roughly quadratically, so the next one might be near 10^12 and impossible to find. It is known that the sequence is infinite: that is, the cost function is not bounded.

Examples

			Example: a(4) = 23 because 23 can be reached by the path 1, 2, 3, 4, 5, 20, 23, which has 4 addition steps, and one can check that each smaller number has cost at most 3.
		

Crossrefs

Cf. A354914.

Extensions

a(6) corrected by Stan Wagon, Feb 15 2023

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

Showing 1-2 of 2 results.