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.

A353075 a(1) = 1, a(2) = 2; for n > 2, a(n) is the smallest positive number that has not appeared that shares a factor with a(n-1) * a(n-2) + |a(n-1) - a(n-2)|.

Original entry on oeis.org

1, 2, 3, 7, 5, 37, 14, 541, 8101, 223, 23, 73, 13, 1009, 11, 12097, 46, 22, 4, 6, 8, 10, 12, 16, 18, 15, 9, 21, 24, 26, 20, 28, 30, 32, 34, 25, 859, 35, 17, 613, 69, 42841, 39, 1713601, 19, 92, 27, 2549, 38, 43, 33, 1429, 115, 44, 42, 36, 40, 48, 50, 52, 54, 45, 51, 57, 60, 49, 65, 55, 63
Offset: 1

Views

Author

Scott R. Shannon, Apr 22 2022

Keywords

Comments

The sequence produces numerous groupings of primes. For example a(3) to a(16) contains thirteen primes in fourteen terms, a(80) to a(102) contains fourteen primes in twenty-three terms. The sequences is conjectured to be a permutation of the positive integers.

Examples

			a(5) = 5 as a(4)*a(3)+|a(4)-a(3)| = 7*3+|7-3| = 25, and 5 is the smallest unused number that shares a factor with 25.
		

Crossrefs

Programs

A353082 a(1) = 1, a(2) = 2; for n > 2, a(n) is the smallest positive number that has not appeared that is a divisor of (a(n-1) + a(n-2))*|a(n-1) - a(n-2)|.

Original entry on oeis.org

1, 2, 3, 5, 4, 9, 13, 8, 7, 15, 11, 26, 37, 21, 16, 185, 39, 14, 25, 33, 29, 31, 6, 925, 19, 12, 217, 41, 22, 57, 35, 23, 24, 47, 71, 48, 17, 65, 32, 97, 43, 10, 53, 63, 20, 83, 103, 30, 73, 4429, 18, 401, 383, 28, 137, 55, 64, 51, 115, 128, 27, 101, 74, 45, 119, 82, 67, 149, 36, 113, 77
Offset: 1

Views

Author

Scott R. Shannon, Apr 22 2022

Keywords

Comments

The sequence is finite, the final term being a(160)=143. See the examples. The maximum value is a(110)=35941 while the fixed points are 1, 2, 3, 8, 11, 67.

Examples

			a(6) = 9 as (a(5)+a(4))*|a(5)-a(4)| = (4+5)*|4-5| = 9, and 9 is the smallest unused number that is a divisor of 9. This is the first term that differs from A353006.
a(159) = 144, a(160) = 143. Therefore a(161) would be the smallest unused number that divides (143+144)*|143-144| = 287. The divisors are 1, 7, 41, 287, all of which have already appeared, so the sequence terminates.
		

Crossrefs

Showing 1-2 of 2 results.