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.

A374445 Lexicographically earliest sequence of distinct positive integers such that any pair of consecutive terms are coprime whereas the squarefree kernel of their product is primorial.

Original entry on oeis.org

1, 2, 3, 4, 9, 8, 15, 14, 45, 16, 27, 10, 21, 20, 63, 40, 81, 32, 75, 28, 135, 56, 165, 98, 225, 64, 105, 22, 315, 44, 525, 88, 735, 128, 243, 50, 147, 80, 189, 100, 231, 130, 693, 160, 441, 110, 273, 220, 567, 200, 729, 70, 33, 140, 99, 280, 297, 350, 363
Offset: 1

Views

Author

David James Sycamore, Jul 08 2024

Keywords

Comments

In other words rad(a(n-2)*a(n-1)) is a term in A002110 whereas a(n-2) and a(n-1) share no common divisor > 1. Every term > a(1) = 1 is divisible by 2 or by 3 but not by both, and all terms other than 1,2,3 are composite.
{a(n); n >= 2} is conjectured to be a permutation of A047228.

Examples

			The sequence starts with a(1) = 1, a(2) = 2 since (1,2) = 1 and 1*2 = A002110(1).
a(3) = 3 since (2,3) = 1 and 2*3 = 6 = A002110(2).
		

Crossrefs

Programs

  • Mathematica
    nn = 540; c[_] := False;
    Array[Set[{a[#], c[#]}, {#, True}] &, 2]; j = a[2]; u = 3;
    f[x_] := f[x] = Or[IntegerQ@ Log2[x], And[EvenQ[x], Union@ Differences@ PrimePi@ FactorInteger[x][[All, 1]] == {1}]];
    Monitor[Do[k = u;
      While[Or[! CoprimeQ[j, k], c[k], ! f[j*k]], k++];
      Set[{a[n], c[k], j}, {k, True, k}];
      If[k == u, While[c[u], u++]], {n, 3, nn}], n];
    Array[a, nn] (* Michael De Vlieger, Jul 16 2024 *)
  • PARI
    \\ See Links section.

Extensions

More terms from Rémy Sigrist, Jul 11 2024

A374575 Lexicographically earliest infinite sequence of distinct positive integers having the property that for any triple i,j,k of consecutive terms gcd(j,k) = 1 whereas A007947(i*j*k) is a term in A002110.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 10, 9, 8, 15, 14, 11, 30, 49, 12, 25, 16, 21, 20, 27, 28, 45, 22, 35, 18, 55, 42, 13, 110, 63, 26, 165, 56, 33, 40, 77, 24, 65, 154, 39, 50, 231, 32, 75, 64, 81, 70, 99, 52, 105, 44, 91, 60, 121, 84, 125, 36, 175, 48, 143, 140, 51, 286
Offset: 1

Views

Author

David James Sycamore, Jul 11 2024

Keywords

Comments

In other words a(n) is least k such that (j,k) = 1 and rad(i*j*k) is a primorial number (alternatively i*j*k is a term in A055932).
Conjectured to be a permutation of the positive integers with primes in order.

Examples

			Sequence starts with a(1,2,3) = {1,2,3} because this is the smallest consecutive triple of terms satisfying the definition ((2,3) = 1 and rad(1*2*3) = 6 = A002110(2)).
a(4) = 4 because (3,4) = 1, rad(2*3*4) = 6 = A002110(2), and 4 is the smallest unused number with this property.
		

Crossrefs

Programs

  • PARI
    \\ See Links section.

Extensions

More terms from Rémy Sigrist, Aug 19 2024
Showing 1-2 of 2 results.