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-10 of 11 results. Next

A379290 Index where prime(n) appears as a term in A379248.

Original entry on oeis.org

2, 9, 13, 42, 88, 94, 233, 241, 412, 651, 659, 669, 1169, 1175, 1187, 2009, 2015, 2021, 2145, 2151, 2157, 2163, 2169, 3380, 5219, 5227, 5233, 5239, 5245, 5251, 5257, 5425, 10971, 10979, 11003, 11125, 11131, 11145, 11151, 11157, 11163, 11169, 11175, 14284, 14290, 14300, 18865, 18871, 18905, 19479, 19485, 19519, 19525, 19531, 19537, 19543, 19549
Offset: 1

Views

Author

Scott R. Shannon, Dec 20 2024

Keywords

Comments

See A379248 for further details.

Crossrefs

Cf. A379248, A379291, A379296 (first differences), A064413, A064955.

A379291 Index where prime(n) first appears as a factor of a term in A379248.

Original entry on oeis.org

2, 4, 6, 16, 18, 20, 27, 29, 38, 48, 50, 64, 66, 68, 71, 84, 106, 108, 113, 117, 119, 130, 133, 139, 161, 171, 173, 177, 179, 183, 205, 209, 214, 216, 224, 226, 273, 277, 281, 284, 289, 303, 310, 312, 316, 318, 364, 384, 386, 388, 392, 396, 398, 431, 437, 441, 458, 460, 462, 464, 468, 476, 500, 504, 506, 508, 549, 553, 559, 563, 565, 585, 589, 594, 599, 603
Offset: 1

Views

Author

Scott R. Shannon, Dec 20 2024

Keywords

Comments

See A379248 for further details.

Crossrefs

A379293 Index where n appears as a term in A379248.

Original entry on oeis.org

1, 2, 9, 3, 13, 4, 42, 5, 8, 6, 88, 7, 94, 16, 11, 15, 233, 10, 241, 17, 24, 18, 412, 19, 12, 20, 23, 21, 651, 22, 659, 26, 33, 27, 44, 25, 669, 29, 35, 28, 1169, 31, 1175, 30, 32, 38, 1187, 37, 41, 14, 56, 39, 2009, 34, 46, 40, 58, 48, 2015, 49, 2021, 50, 36, 51, 96, 52, 2145, 53, 60, 54, 2151, 55, 2157, 64, 45, 63, 90, 62, 2163, 65, 57, 66, 2169, 67, 98
Offset: 1

Views

Author

Scott R. Shannon, Dec 20 2024

Keywords

Comments

See A379248 for further details.

Crossrefs

A379294 Record high values of A379248.

Original entry on oeis.org

1, 2, 4, 6, 8, 10, 12, 18, 25, 50, 54, 63, 98, 100, 104, 108, 117, 126, 135, 242, 338, 343, 392, 578, 722, 735, 784, 1058, 1089, 1210, 1444, 1682, 1922, 2738, 3174, 3362, 3698, 4418, 4563, 4732, 4901, 5547, 5618, 6962, 7442, 7581, 7942, 8410, 8978, 10082, 10658, 12482, 13778, 15059, 16428, 17797, 18818, 20402, 21218, 22898, 23762, 25538, 32258, 34322
Offset: 1

Views

Author

Scott R. Shannon, Dec 20 2024

Keywords

Comments

See A379248 for further details.

Crossrefs

Cf. A379248, A379295 (record indices), A379290, A379296, A064413, A064424.

A379295 Indices where record high values occur in A379248.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 10, 12, 14, 34, 36, 43, 47, 73, 75, 77, 79, 81, 89, 95, 168, 170, 234, 242, 344, 346, 413, 423, 425, 648, 652, 660, 670, 1166, 1170, 1176, 1188, 1607, 1609, 1611, 2002, 2010, 2016, 2022, 2046, 2048, 2142, 2146, 2152, 2158, 2164, 2170, 3373, 3375, 3377, 5220, 5228, 5234, 5240, 5246, 5252, 5258, 5426, 10966, 10968, 10972, 10980, 11004, 11122
Offset: 1

Views

Author

Scott R. Shannon, Dec 20 2024

Keywords

Comments

See A379248 for further details.

Crossrefs

Cf. A379248, A379294 (record values), A379290, A379296, A064413, A064424.

A379292 Number k such that A379248(k) = k.

Original entry on oeis.org

1, 2, 33, 155, 913, 1145
Offset: 1

Views

Author

Scott R. Shannon, Dec 20 2024

Keywords

Comments

These are the fixed points in the first 500000 terms of A379248. See that sequence for further details.

Crossrefs

A379296 First differences of A379290.

Original entry on oeis.org

7, 4, 29, 46, 6, 139, 8, 171, 239, 8, 10, 500, 6, 12, 822, 6, 6, 124, 6, 6, 6, 6, 1211, 1839, 8, 6, 6, 6, 6, 6, 168, 5546, 8, 24, 122, 6, 14, 6, 6, 6, 6, 6, 3109, 6, 10, 4565, 6, 34, 574, 6, 34, 6, 6, 6, 6, 6, 6, 11195, 6, 36, 6, 6, 426, 418, 8, 42, 10068, 8, 8, 6, 6, 6, 6, 25229, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 686, 6, 64, 6, 6, 6, 6, 394, 22241, 8, 6
Offset: 1

Views

Author

Scott R. Shannon, Dec 20 2024

Keywords

Comments

These are the differences between the indices where the prime terms appear in A379248. See that sequence for further details. Note the long runs of 6 - see the example below.

Examples

			A379248(1169) = 41, A379248(1175) = 43, with a difference in indices of 6. Worth noting is the values of the terms in this, and similar, ranges:
.
.
A379248(1167) = 943 = 23*41 , the lowest unseen multiple of 23.
A379248(1168) = 1681 = 41^2.
A379248(1169) = 41.
A379248(1170) = 3362 = 2*41^2 , which shows the pattern of p^2 -> p -> 2*p^2.
A379248(1171) = 697 = 17*41 , the lowest unseen multiple of 17.
A379248(1172) = 2023 = 7*17^2 , the lowest unseen multiple of 17^2.
A379248(1173) = 731 = 17*43, the lowest unseen multiple of 17.
A379248(1174) = 1849 = 43^2.
A379248(1175) = 43.
.
.
		

Crossrefs

A379442 a(1) = 1, a(2) = 2, for a(n) > 2, a(n) is the smallest unused positive number that shares a factor with a(n-1) such that the exponents of each distinct prime factor of a(n-1) differ by one from those of the same prime factors of a(n), while the exponents of each distinct prime factor of a(n) differ by one from those of the same prime factors of a(n-1).

Original entry on oeis.org

1, 2, 4, 6, 9, 3, 18, 12, 8, 16, 24, 20, 14, 44, 10, 25, 5, 50, 15, 63, 27, 45, 21, 49, 7, 98, 28, 22, 52, 30, 36, 42, 68, 26, 60, 34, 76, 40, 48, 32, 64, 96, 80, 56, 92, 38, 84, 46, 116, 62, 132, 58, 124, 66, 117, 33, 90, 39, 99, 51, 126, 57, 153, 54, 81, 135, 162, 108, 72, 156, 70, 75, 35, 147, 77, 121, 11, 242, 55, 150, 65, 169, 13, 338, 91, 245, 119, 289
Offset: 1

Views

Author

Scott R. Shannon, Dec 23 2024

Keywords

Comments

The sequence shows similar behavior to A379248 - prime terms p are preceded by p^2 and followed by 2*p^2, primes appear in their natural order, primes can be divisors of terms long before they appear as a term themselves, there are long runs of prime terms that are separated by six terms, and prime terms appear when the terms overall go through intermittent periods of large oscillations in value.
The most significant difference is the terms are concentrated along two different lines when between the periods of large oscillation. These appear to be comprised of terms that jump between values of 2*k and 2^2*k' or 3*k and 3^2*k', with k,k'>1. Sometimes between these lines are successive terms comprised of multiples of large powers of 2 or 3; see the attached image.
In the first 100000 terms there are eleven fixed points. However, as the regions of oscillating terms crosses the a(n) = n line it is possible more exist for larger values of n.
The sequence is conjectured to be a permutation of the positive integers.

Examples

			a(3) = 4 as 4 is unused and shares a factor with a(2) = 2, while 4 = 2^2 which has 2 as the exponent of the prime 2, while a(2) = 2^1 which has exponent 1. As these exponents differ by one, 4 is acceptable.
a(5) = 9 as 9 is unused and shares a factor with a(4) = 6, while 9 = 3^2 which has 2 as the exponent of the prime 3 and exponent 0 for the prime 2, while a(4) = 2^1*3^1 which has exponent 1 for both primes 2 and 3. As these both differ by one, 9 is acceptable. Note that although 8 shares a factor with 6, 8 = 2^3 which has exponent 3 for the prime 2, and as that does not differ by one from the exponent 1 for the prime 2 in 6, 8 cannot be chosen. This is the first term to differ from A379248.
		

Crossrefs

Cf. A379557 (fixed points), A379558 (index where prime n appears as a term), A379559 (index where n appears as a term).

Programs

  • Python
    from sympy import factorint
    from itertools import islice
    from collections import Counter
    fcache = dict()
    def myfactors(n):
        global fcache
        if n in fcache: return fcache[n]
        ans = Counter({p:e for p, e in factorint(n).items()})
        fcache[n] = ans
        return ans
    def agen(): # generator of terms
        yield 1
        an, a, m = 2, {1, 2}, 3
        while True:
            yield an
            k, fan = m-1, myfactors(an)
            sfan = set(fan)
            while True:
                k += 1
                if k in a: continue
                fk = myfactors(k)
                sfk = set(fk)
                if sfk & sfan and all(abs(fk[p]-fan[p])==1 for p in sfk | sfan):
                    an = k
                    break
            a.add(an)
    print(list(islice(agen(), 88))) # Michael S. Branicky, Jan 05 2025

A379440 a(1) = 1, a(2) = 2, for a(n) > 2, a(n) is the smallest unused positive number that shares a factor with a(n-1) such that the exponents of each distinct prime factor of a(n) differ by one from those of the same prime factors of a(n-1).

Original entry on oeis.org

1, 2, 4, 6, 9, 3, 18, 12, 8, 16, 24, 20, 14, 44, 10, 25, 5, 50, 15, 63, 27, 45, 21, 49, 7, 98, 28, 22, 52, 30, 36, 26, 60, 34, 76, 40, 48, 32, 64, 96, 80, 56, 68, 38, 84, 46, 116, 42, 92, 58, 124, 66, 117, 33, 90, 39, 99, 51, 126, 57, 153, 54, 81, 135, 162, 108, 62, 132, 70, 75, 35, 147, 77, 121, 11, 242, 55, 150, 65, 169, 13, 338, 91, 245, 119, 289, 17
Offset: 1

Views

Author

Scott R. Shannon, Dec 23 2024

Keywords

Comments

Like A379442, for the terms studied, prime terms p are preceded by p^2 and followed by 2*p^2, can be divisors of terms before they appear as a term themselves, and are distributed in groups of primes, with many primes within the groups differing by six terms. Unlike A379442 not all primes appear in their natural order, although the occurrence of such primes is rare - only four primes are out of order in the first 250000 terms, namely a(6787) = 179, a(18355) = 353, a(43516) = 593, a(201498) = 1579. In the same range the fixed points are 1, 2, 30, 34, 46, 130, 352, 456, although more may exist. The sequence is conjectured to be a permutation of the positive integers.

Examples

			a(14) = 44 as 44 = 2^2*11^1, and a(13) = 14 = 2*7 which contains 2^1 as a factor, whose power differs by one from 2^2, while not containing any power of 11. This is the smallest unused number satisfying these criteria. Note that 36 = 2^2*3^2 cannot be chosen as a(13) contains no power of 3 - this is the first term to differ from A379441.
		

Crossrefs

Programs

  • Python
    from sympy import factorint
    from itertools import islice
    from collections import Counter
    fcache = dict()
    def myfactors(n):
        global fcache
        if n in fcache: return fcache[n]
        ans = Counter({p:e for p, e in factorint(n).items()})
        fcache[n] = ans
        return ans
    def agen(): # generator of terms
        yield 1
        an, a, m = 2, {1, 2}, 3
        while True:
            yield an
            k, fan = m-1, myfactors(an)
            sfan = set(fan)
            while True:
                k += 1
                if k in a: continue
                fk = myfactors(k)
                sfk = set(fk)
                if sfk & sfan and all(abs(fk[p]-fan[p])==1 for p in sfk):
                    an = k
                    break
            a.add(an)
    print(list(islice(agen(), 87))) # Michael S. Branicky, May 25 2025

A379441 a(1) = 1, a(2) = 2, for a(n) > 2, a(n) is the smallest unused positive number that shares a factor with a(n-1) such that the exponents of each distinct prime factor of a(n-1) differ by one from those of the same prime factors of a(n).

Original entry on oeis.org

1, 2, 4, 6, 9, 3, 18, 12, 8, 16, 24, 20, 14, 36, 30, 25, 5, 50, 15, 63, 27, 45, 21, 49, 7, 98, 28, 10, 44, 26, 60, 22, 52, 34, 76, 40, 48, 32, 64, 96, 80, 56, 68, 38, 84, 46, 100, 70, 75, 35, 147, 77, 121, 11, 242, 33, 72, 108, 90, 39, 99, 42, 92, 54, 81, 135, 117, 51, 126, 57, 144, 120, 112, 88, 116, 62, 132, 58, 124, 66, 140, 74, 156, 82, 148, 78, 153, 69
Offset: 1

Views

Author

Scott R. Shannon, Dec 23 2024

Keywords

Comments

Like A379442, for the terms studied, prime terms p are preceded by p^2 and followed by 2*p^2, can be divisors of terms before they appear as a term themselves, and are distributed in groups of primes, with many primes within the groups differing by six terms. Unlike A379442 not all primes appear in their natural order, although the occurrence of such primes is rare - only three primes are out of order in the first 250000 terms, namely a(13350) = 149, a(18410) = 179, a(21382) = 191. The sequence contains numerous fixed points, these being 1, 2, 34, 46, 218, 370, 410, 462, 474, 1954, 5592, 19186,... . The sequence is conjectured to be a permutation of the positive integers.

Examples

			a(14) = 36 as 36 = 2^2*3^2 while a(13) = 14 = 2*7 which contains 2^1 as a factor, whose power differs by one from 2^2, and 7^1 as a factor, and 36 contains no power of 7. This is the smallest unused number satisfying these criteria. This is the first term to differ from A379440.
		

Crossrefs

Programs

  • Python
    from sympy import factorint
    from itertools import islice
    from collections import Counter
    fcache = dict()
    def myfactors(n):
        global fcache
        if n in fcache: return fcache[n]
        ans = Counter({p:e for p, e in factorint(n).items()})
        fcache[n] = ans
        return ans
    def agen(): # generator of terms
        yield 1
        an, a, m = 2, {1, 2}, 3
        while True:
            yield an
            k, fan = m-1, myfactors(an)
            sfan = set(fan)
            while True:
                k += 1
                if k in a: continue
                fk = myfactors(k)
                sfk = set(fk)
                if sfk & sfan and all(abs(fk[p]-fan[p])==1 for p in sfan):
                    an = k
                    break
            a.add(an)
    print(list(islice(agen(), 88))) # Michael S. Branicky, May 25 2025
Showing 1-10 of 11 results. Next