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

A354754 The products of consecutive terms in A354753.

Original entry on oeis.org

2, 4, 8, 16, 24, 12, 20, 40, 32, 48, 18, 9, 27, 54, 36, 60, 50, 25, 75, 45, 63, 126, 72, 96, 64, 80, 100, 120, 108, 81, 135, 90, 84, 28, 44, 88, 56, 98, 49, 147, 189, 162, 144, 112, 140, 150, 180, 168, 196, 224, 128, 160, 200, 220, 132, 156, 52, 68, 136, 104, 208, 176, 242, 121, 363, 99
Offset: 1

Views

Author

Scott R. Shannon, Jun 06 2022

Keywords

Comments

See A354753 for further details.

Examples

			a(6) = 12 as A354753(6) * A354753(7) = 6 * 2 = 12.
		

Crossrefs

A354803 a(1) = 1; for n > 1, a(n) is the smallest positive number that is coprime to a(n-1) and the product a(n) * a(n-1) is distinct from all previous products a(i) * a(i-1), i=2..n-1.

Original entry on oeis.org

1, 1, 2, 3, 1, 4, 3, 5, 1, 7, 2, 5, 4, 7, 3, 8, 1, 9, 2, 11, 1, 13, 2, 15, 4, 9, 5, 7, 6, 11, 3, 13, 4, 11, 5, 8, 7, 9, 8, 11, 7, 10, 9, 11, 10, 13, 5, 16, 1, 17, 2, 19, 1, 23, 2, 25, 1, 27, 2, 29, 1, 31, 2, 37, 1, 32, 3, 16, 7, 12, 11, 13, 6, 17, 3, 19, 4, 17, 5, 19, 6, 23, 3, 25, 4, 23
Offset: 1

Views

Author

Scott R. Shannon, Jun 07 2022

Keywords

Comments

This sequences uses similar a similar rule to A088177 but here all neighboring terms are coprime. In the first 1000000 terms the only fixed point is the first term while the smallest number not to have appeared is 2054. The sequence is conjectured to be a permutation of the positive integers.
See A354804 for the products of all pairs of terms.

Examples

			a(5) = 1 as a(4) = 3 and 1 is the smallest positive number that is coprime to 3 and whose product with 3, 1 * 3 = 3, has not previously appeared.
		

Crossrefs

A354749 a(1) = 1; for n > 1, a(n) is the smallest positive number greater than 1 that is coprime to a(n-1) and the product a(n) * a(n-1) is distinct from all previous products a(i) * a(i-1), i=2..n-1.

Original entry on oeis.org

1, 2, 3, 4, 5, 2, 7, 3, 5, 6, 7, 4, 9, 2, 11, 3, 8, 5, 7, 8, 9, 5, 11, 4, 13, 2, 17, 3, 13, 5, 12, 7, 9, 10, 7, 11, 6, 13, 7, 15, 8, 11, 9, 13, 8, 17, 4, 19, 2, 23, 3, 16, 5, 17, 6, 19, 3, 25, 2, 27, 4, 23, 5, 19, 7, 16, 9, 14, 11, 10, 13, 11, 12, 13, 14, 15, 11, 16, 13, 15, 16, 17, 7, 20, 9
Offset: 1

Views

Author

Scott R. Shannon, Jun 06 2022

Keywords

Comments

This is a variation of A354803 where all terms beyond the first must be greater than 1. In the first 1000000 terms the fixed points are 1,2,3,4,5,7, it is likely no more exist, while the smallest number not to have appeared is 2090. The sequence is conjectured to be a permutation of the positive integers.
See A354759 for the products of all pairs of terms.

Examples

			a(6) = 2 as a(5) = 5 and 2 is the smallest number greater than 1 that is coprime to 5 and whose product with 5, 2 * 5 = 10, has not previously appeared.
		

Crossrefs

A354759 The products of pairs of consecutive terms in A354749.

Original entry on oeis.org

2, 6, 12, 20, 10, 14, 21, 15, 30, 42, 28, 36, 18, 22, 33, 24, 40, 35, 56, 72, 45, 55, 44, 52, 26, 34, 51, 39, 65, 60, 84, 63, 90, 70, 77, 66, 78, 91, 105, 120, 88, 99, 117, 104, 136, 68, 76, 38, 46, 69, 48, 80, 85, 102, 114, 57, 75, 50, 54, 108, 92, 115, 95, 133, 112, 144, 126, 154, 110, 130
Offset: 1

Views

Author

Scott R. Shannon, Jun 06 2022

Keywords

Comments

See A354749 for further details.

Examples

			a(3) = 12 as A354749(3) * A354749(4) = 3 * 4 = 12.
		

Crossrefs

A354804 The products of consecutive terms in A354803.

Original entry on oeis.org

1, 2, 6, 3, 4, 12, 15, 5, 7, 14, 10, 20, 28, 21, 24, 8, 9, 18, 22, 11, 13, 26, 30, 60, 36, 45, 35, 42, 66, 33, 39, 52, 44, 55, 40, 56, 63, 72, 88, 77, 70, 90, 99, 110, 130, 65, 80, 16, 17, 34, 38, 19, 23, 46, 50, 25, 27, 54, 58, 29, 31, 62, 74, 37, 32, 96, 48, 112, 84, 132, 143, 78, 102
Offset: 1

Views

Author

Scott R. Shannon, Jun 07 2022

Keywords

Comments

See A354803 for further details.

Examples

			a(6) = 12 as A354803(6) * A354803(7) = 4 * 3 = 12.
		

Crossrefs

A359799 a(1) = 1, a(2) = 3; for n > 2, a(n) is the smallest positive number which has not appeared that shares a factor with |a(n-1) - a(n-2)| while the difference |a(n) - a(n-1)| is distinct from all previous differences |a(i) - a(i-1)|, i=2..n-1.

Original entry on oeis.org

1, 3, 6, 12, 2, 10, 14, 26, 4, 11, 28, 17, 22, 35, 65, 5, 20, 36, 8, 32, 9, 23, 42, 76, 18, 38, 56, 15, 41, 16, 25, 54, 87, 21, 48, 27, 63, 24, 66, 7, 59, 13, 44, 93, 49, 84, 30, 62, 100, 19, 69, 106, 37, 90, 212, 34, 74, 122, 33, 89, 46, 129, 249, 39, 86, 141, 40, 101, 183, 50, 95, 159, 52
Offset: 1

Views

Author

Scott R. Shannon, Mar 07 2023

Keywords

Comments

In the first 100000 terms the only fixed point is a(1) = 1; it is unknown if more exist. The sequence is conjectured to be a permutation of the positive integers.

Examples

			a(5) = 2 as |a(4) - a(3)| = |12 - 6| = 6, and 2 is the smallest unused number that shares a factor with 6 while the difference |2 - a(4)| = |2 - 12| = 10 is distinct from all previous differences.
		

Crossrefs

A354755 a(1) = 1, a(2) = 2; for n > 2, a(n) is the smallest positive number that shares a factor with a(n-1) and the sum a(n) + a(n-1) is distinct from all previous sums a(i) + a(i-1), i=2..n-1.

Original entry on oeis.org

1, 2, 2, 4, 4, 6, 3, 9, 6, 8, 8, 10, 10, 12, 9, 15, 10, 16, 12, 15, 15, 18, 14, 20, 15, 21, 18, 20, 20, 22, 22, 24, 21, 27, 24, 26, 26, 28, 21, 35, 20, 38, 19, 57, 3, 60, 2, 62, 4, 64, 6, 63, 9, 66, 8, 70, 7, 77, 11, 88, 2, 78, 3, 84, 2, 80, 5, 60, 32, 62, 31, 93, 3, 99, 6, 92, 8, 96, 10, 85, 25
Offset: 1

Views

Author

Scott R. Shannon, Jun 06 2022

Keywords

Comments

In the first 500000 terms the fixed points are 1,2,4,6,2388,2390,2392,2394; it is likely no more exist. In the same range many numbers do not appear, the lowest five being 59,67,73,89,97. It is possible these and many other numbers never appear although this is unknown.

Examples

			a(7) = 3 as a(6) = 6, and 3 is the smallest number that shares a factor with 6 and whose sum with the previous term, 6 + 3 = 9, has not appeared. Note 2 shares a factor with 6 but 6 + 2 = 8, and a sum of 8 has already occurred with a(4) + a(5) = 4 + 4 = 8, so 2 cannot be chosen.
		

Crossrefs

Programs

A361314 a(1) = 1, a(2) = 2; for n > 2, a(n) is the smallest positive number which has not appeared that shares a factor with a(n-2) + a(n-1) while the sum a(n) + a(n-1) is distinct from all previous sums a(i) + a(i-1), i=2..n-1.

Original entry on oeis.org

1, 2, 3, 5, 4, 6, 8, 7, 9, 10, 19, 29, 12, 41, 53, 14, 67, 15, 16, 31, 47, 13, 20, 18, 22, 24, 26, 25, 17, 27, 28, 11, 21, 36, 30, 32, 38, 34, 39, 73, 35, 33, 42, 45, 48, 51, 44, 40, 46, 43, 89, 50, 139, 49, 52, 101, 54, 55, 109, 56, 57, 113, 58, 60, 59, 63, 61, 62, 66, 64, 65, 69, 68, 137, 70
Offset: 1

Views

Author

Scott R. Shannon, Mar 08 2023

Keywords

Comments

In the first 100000 terms the fixed points are 1, 2, 3, 6, 9, 10, 39, 91, 112; it is likely no more exist. The sequence is conjectured to be a permutation of the positive integers.

Examples

			a(23) = 20 as a(21) + a(22) = 47 + 13 = 60, and 20 is the smallest unused number that shares a factor with 60 while the sum a(22) + 20 = 13 + 20 = 33 is distinct from all previous sums. Note that 18 is unused and shares a factor with 60 but the sum a(22) + 18 = 13 + 18 = 31 is the same as a(18) + a(19) = 15 + 16 = 31. This is the first term that differs from A337136.
		

Crossrefs

A354858 a(1) = 1, a(2) = 2; for n > 2, a(n) is the smallest positive number that shares a factor with a(n-1) and both the sum a(n) + a(n-1) is distinct from all previous sums, a(i) + a(i-1), i=2..n-1, and the product a(n) * a(n-1) is distinct from all previous products, a(i) * a(i-1), i=2..n-1.

Original entry on oeis.org

1, 2, 2, 4, 4, 6, 3, 9, 6, 8, 8, 10, 10, 12, 9, 15, 10, 16, 12, 15, 15, 18, 14, 20, 15, 21, 18, 20, 20, 22, 22, 24, 21, 27, 24, 26, 26, 28, 21, 35, 20, 38, 19, 57, 3, 63, 7, 56, 6, 58, 10, 55, 20, 52, 22, 55, 25, 60, 9, 69, 12, 70, 14, 72, 15, 75, 18, 70, 21, 75, 24, 68, 26, 72, 28, 74, 30, 65
Offset: 1

Views

Author

Scott R. Shannon, Jun 09 2022

Keywords

Comments

This sequence uses a combination of the term selection rules of A354755 and A354753. The first forty-five terms are the same as A354755 beyond which they differ; see the examples below. In the first 500000 terms only six terms are prime, 2,3,7,19, with 2 and 3 occurring twice, the last being a(47) = 7. It is unknown if more appear. The only fixed points are 1,2,4,6, and it is likely no more exist.

Examples

			a(7) = 3 as a(6) = 6, and 3 is the smallest number that shares a factor with 6 and whose sum and product with the previous term, 6 + 3 = 9 and 6 * 3 = 18, have not previously appeared. Note 2 shares a factor with 6 but 6 + 2 = 8, and a sum of 8 has already occurred with a(4) + a(5) = 4 + 4 = 8, so 2 cannot be chosen.
a(46) = 63 as a(45) = 3, and 63 is the smallest number that shares a factor with 3 and whose sum and product with the previous term, 3 + 63 = 66 and 3 * 63 = 189, have not previously appeared. Note 60 shares a factor with 3 but the product 3 * 60 = 180 has already occurred with a(19) * a(20) = 12 * 15 = 180, so 60 cannot be chosen. This is the first term to differ from A354755.
		

Crossrefs

Programs

  • PARI
    lista(nn) = my(va = vector(nn), vp = vector(nn-2), vs = vector(nn-2)); va[1] = 1; va[2] = 2; for (n=3, nn, my(k=2); while ((gcd(k, va[n-1]) == 1) || #select(x->(x==k*va[n-1]), vp) || #select(x->(x==k+va[n-1]), vs), k++); va[n] = k; vp[n-2] = k*va[n-1]; vs[n-2] = k+va[n-1];); va; \\ Michel Marcus, Jun 17 2022
Showing 1-9 of 9 results.