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.

A259349 Numbers n such that n-1, n, and n+1 are all products of 6 distinct primes (i.e. belong to A067885).

Original entry on oeis.org

1990586014, 1994837494, 2129658986, 2341714794, 2428906514, 2963553594, 3297066410, 3353808094, 3373085990, 3623442746, 3659230730, 3809238770, 3967387346, 4058711734, 4144727994, 4196154390, 4502893746, 4555267690, 4653623534
Offset: 1

Views

Author

James G. Merickel, Jun 24 2015

Keywords

Comments

A subsequence of A169834 and A067885.
The rudimentary method employed by the PARI program below reaches the limit of its usefulness here. Contrast it with the method required for A259350, which is over 4.5 orders of magnitude faster than the analog of this (and may still be some distance best).
a(1)=A093550(6) (that sequence's 5th term, with offset 2). The program arbitrarily makes use of this knowledge, but will run (slower) without it.

Examples

			1990586013 = 3*13*29*67*109*241,
1990586014 = 2*23*37*43*59*461, and
1990586015 = 5*11*17*19*89*1259; and no smaller trio of this kind exists, making the middle value a(1).
		

Crossrefs

For products of 1, 2, 3, 4, 5, and 6 distinct primes see A000040, A006881, A007304, A046386, A046387, and A067885, resp.
See A364265 for a closely related sequence. - N. J. A. Sloane, Jul 18 2023

Programs

  • PARI
    {
    \\Program initialized with known a(1).\\
    \\The purpose of vector s and value u\\
    \\is to skip bad values modulo 36.\\
    k=1990586014;s=[4,4,8,8,8,4];u=1;
    while(1,
      if(issquarefree(k),
        if(issquarefree(k-1),
          if(issquarefree(k+1),
            if(omega(k)==6,
              if(omega(k-1)==6,
                if(omega(k+1)==6,
                  print1(k" ")))))));
      k+=s[u];if(u==6,u=1,u++))
    }

Formula

{n: A001221(n-1) = A001221(n) = A001221(n+1) = A001222(n-1) = A001222(n) = A001222(n+1) = 6}. - R. J. Mathar, Jul 18 2023