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

A363956 a(1) = 1, a(2) = 2; for n > 2, a(n) is the smallest positive number that has not yet appeared that is a multiple of prime(omega(a(n-1))).

Original entry on oeis.org

1, 2, 4, 6, 3, 8, 10, 9, 12, 15, 18, 21, 24, 27, 14, 30, 5, 16, 20, 33, 36, 39, 42, 25, 22, 45, 48, 51, 54, 57, 60, 35, 63, 66, 40, 69, 72, 75, 78, 50, 81, 26, 84, 55, 87, 90, 65, 93, 96, 99, 102, 70, 80, 105, 85, 108, 111, 114, 95, 117, 120, 100, 123, 126, 110, 115, 129, 132, 125, 28, 135, 138
Offset: 1

Views

Author

Scott R. Shannon, Jun 29 2023

Keywords

Comments

The sequence is conjectured to be a permutation of the positive integers, although it takes many terms for the primes to appear, e.g., a(210667) = 17. After the first two terms the only fixed points in the first 500000 terms are 15777 and 86977, although it is possible more exist.

Examples

			a(10) = 15 as prime(omega(a(9))) = prime(A001221(12)) = prime(2) = 3, and 15 is the smallest unused number that is a multiple of 3.
		

Crossrefs

Programs

  • Mathematica
    nn = 120; c[] := False; m[] := 1; f[x_] := Prime@ PrimeNu[x];
    Array[Set[{a[#], c[#], m[#]}, {#, True, 2}] &, 2]; j = 2;
    Do[k = f[j];
     While[c[m[k] k], m[k]++]; k *= m[k];
     Set[{a[n], c[k], j}, {k, True, k}], {n, 3, nn}];
    Array[a, nn] (* Michael De Vlieger, Jul 01 2023 *)
Showing 1-1 of 1 results.