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.

A378233 a(1) = 1, a(2) = 2, let i = a(n-2), j = a(n-1). For n > 2, If i*j is a term in A055932, a(n) is the least novel multiple of the smallest prime which does not divide i*j. Otherwise a(n) is the least novel multiple of the greatest prime < Gpf(i*j) which does not divide i*j.

Original entry on oeis.org

1, 2, 3, 5, 4, 6, 10, 7, 9, 15, 8, 14, 20, 12, 21, 25, 16, 18, 30, 28, 11, 35, 24, 22, 42, 40, 33, 49, 45, 26, 44, 56, 50, 27, 63, 55, 32, 70, 36, 66, 77, 60, 13, 88, 84, 65, 99, 91, 75, 110, 98, 39, 121, 105, 34, 52, 132, 112, 80, 48, 119, 78, 143, 126, 85, 104
Offset: 1

Views

Author

Keywords

Comments

In other words, if the product i*j of adjacent terms has primorial kernel, rad(i*j) = A002110(k) for some k>= 0, the next term is the smallest novel multiple of prime(k+1). Otherwise a(n) is the smallest novel multiple of p, the greatest prime less than the greatest prime factor of i*j, which does not divide i*j. The definition is similar to that of A359804, the difference being in the second condition, where here the greatest non divisor prime is used instead of the smallest. Same first 9 terms as A359804, departure thereafter.
Fixed points occur at indices 1,2,3,6,9,18, after which it seems there are no more... Primes p = 2,3,5,7,11 occur prior to 2*p, whereas 13 occurs after 26, and 17 occurs after 34.
Conjectures: Sequence is a permutation of the natural numbers A000027, with primes in order. Prime powers and numbers that share the same squarefree kernel also appear in order.
Alternate definition: a(n) = least m*A377774(a(n-2)*a(n-1)), m >= 1, such that a(k) != a(n), k < n. - Michael De Vlieger, Nov 23 2024

Examples

			Since rad(1*2) = 2 = A002110(1), a(3) = prime(2) = 3.
Then rad(2*3) = 6 = A002110(2), so a(4) = prime(3) = 5.
Rad(3*5) = 15, not a term in A055932, 2 is the greatest prime < 5 = Gpf(15) which does not divide 15, so a(5) = 4, the least novel multiple of 2.
Rad(5*4) = 10 so a(6) is 6, the least novel multiple of 3, the greatest prime < 5 which does not divide 10.
a(8) = 7, a(9) = 9, 7*9 = 63 is not in A055932 so a(10) = 15, the least novel multiple of 5, the greatest prime < 7 = Gpf(63) which does not divide 63. a(10) = 15 is the first departure from A359804.
		

Crossrefs

Programs

  • Mathematica
    c[] := False; m[] := 1; nn = 120;
    Array[Set[{a[#], c[#]}, {#, True}] &, 2]; Set[{i, j}, Range[2]];
    Do[s = FactorInteger[i*j][[All, 1]]; h = Times @@ s;
     If[Or[IntegerQ@ Log2[h],
       And[EvenQ[h], Union@ Differences@ PrimePi[s] == {1}] ],
      k = NextPrime[s[[-1]]]; While[c[k*m[k]], m[k]++]; k *= m[k],
      k = s[[-1]]; While[Divisible[h, k = NextPrime[k, -1] ] ];
      While[c[k*m[k]], m[k]++]; k *= m[k] ];
     Set[{a[n], c[k], i, j}, {k, True, j, k}],
     {n, 3, nn}];
    Array[a, nn]
Showing 1-1 of 1 results.