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

A355702 a(1) = 1, a(2) = 2; for n > 2, a(n) is the smallest positive number that has not yet appeared that has the same number of prime divisors as the sum a(n-2) + a(n-1).

Original entry on oeis.org

1, 2, 3, 5, 8, 7, 4, 11, 6, 13, 17, 12, 19, 23, 18, 29, 31, 16, 37, 41, 20, 43, 27, 28, 9, 47, 24, 53, 10, 30, 36, 42, 44, 14, 15, 59, 21, 32, 61, 22, 67, 71, 45, 50, 25, 52, 26, 63, 73, 40, 79, 33, 48, 54, 66, 72, 68, 56, 70, 60, 75, 81, 84, 76, 64, 88, 90, 34, 78, 80, 35, 38, 83, 39, 46, 49, 51
Offset: 1

Views

Author

Scott R. Shannon, Jul 14 2022

Keywords

Comments

In the first 500000 terms on seventeen occasions the sum of the previous two terms equals the next term, these terms being 3, 5, 8, 11, 100,... ,131072, 262144. It in unknown if there are infinitely many such terms. In the same range there are seventy-three fixed points; see A356017. The sequence is conjectured to be a permutation of the positive integers.

Examples

			a(4) = 5 as a(2) + a(3) = 2 + 3 = 5 which has one prime divisor, and 5 is the smallest unused number that has one prime divisor.
a(6) = 7 as a(4) + a(5) = 5 + 8 = 13 which has one prime divisor, and 7 is the smallest unused number that has one prime divisor.
a(7) = 4 as a(5) + a(6) = 8 + 7 = 15 which has two prime divisors, and 4 is the smallest unused number that has two prime divisors.
		

Crossrefs

A363162 a(1) = 1, a(2) = 2; for n > 2, a(n) is the smallest positive number that has not yet appeared that has the same number of distinct prime divisors as a(n-2) + a(n-1).

Original entry on oeis.org

1, 2, 3, 4, 5, 7, 6, 8, 10, 12, 14, 15, 9, 18, 11, 13, 20, 21, 16, 17, 22, 24, 26, 28, 33, 19, 34, 23, 35, 36, 25, 27, 38, 39, 40, 29, 44, 31, 45, 46, 48, 50, 51, 32, 37, 52, 41, 54, 55, 43, 56, 57, 47, 58, 30, 62, 63, 49, 65, 42, 53, 68, 59, 61, 60, 64, 69, 72, 74, 75, 67, 76, 77, 80, 71, 73, 82
Offset: 1

Views

Author

Scott R. Shannon, Jul 06 2023

Keywords

Comments

The terms with different numbers of distinct prime divisors are concentrated along different lines in the graph; see the attached colored image. There are numerous fixed points in the first one million terms, although the last nonprime fixed point is a(n) = 3495. Beyond that there are thirty-one more fixed points all with prime values; it is likely more exist although this is unknown. The sequence is conjectured to be a permutation of the positive integers.

Examples

			a(4) = 4 as a(2) + a(3) = 2 + 3 = 5 which has one distinct prime divisor, and 4 is the smallest unused number that has one distinct prime divisor.
a(10) = 12 as a(8) + a(9) = 8 + 10 = 18 which has two distinct prime divisors, and 12 is the smallest unused number that has two distinct prime divisors.
		

Crossrefs

Programs

  • Mathematica
    nn = 120; c[] := False; f[x] := PrimeNu[x]; Array[Set[{a[#], c[#]}, {#, True}] &, 2]; i = 1; j = s = 2; u = 3; Do[k = u; s = f[i + j]; While[Or[c[k], f[k] != s], k++]; Set[{a[n], c[k], i, j}, {k, True, j, k}]; If[k == u, While[c[u], u++]], {n, 3, nn}]; Array[a, nn] (* Michael De Vlieger, Jul 08 2023 *)

A364164 a(1) = 1, a(2) = 2; for n > 2, a(n) is the smallest positive number that has not yet appeared that has the same number of distinct prime factors as the sum of all previous terms.

Original entry on oeis.org

1, 2, 3, 6, 10, 12, 14, 15, 18, 4, 20, 30, 21, 42, 60, 66, 22, 24, 70, 78, 84, 90, 26, 28, 33, 34, 35, 36, 102, 105, 5, 38, 110, 39, 7, 210, 114, 120, 126, 330, 390, 420, 130, 132, 138, 140, 462, 510, 150, 546, 570, 154, 40, 44, 45, 156, 8, 165, 630, 660, 168, 170, 174, 9, 46, 48, 690
Offset: 1

Views

Author

Scott R. Shannon, Jul 12 2023

Keywords

Comments

In the first 20000 terms the largest value is a(14889) = 15825810 which contains eight distinct prime factors. In the same range there are 593 terms that are prime, the last being a(19985) = 4339, while the smallest number not to appear is 4349. It is likely all numbers eventually appear.

Examples

			a(3) = 3 as the sum of all previous terms is 1 + 2 = 3 which contains one distinct prime factor, and 3 is the smallest unused number that also contains one distinct prime factor.
a(6) = 12 as the sum of all previous terms is 1 + 2 + 3 + 6 + 10 = 22 which contains two distinct prime factors, and 12 is the smallest unused number that also contains two distinct prime factors.
		

Crossrefs

Showing 1-3 of 3 results.