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

A348750 a(n) = A064989(A064989(sigma(A003961(A003961(n))))), where A003961 shifts the prime factorization of n one step towards larger primes, and A064989 shifts it back towards smaller primes.

Original entry on oeis.org

1, 1, 1, 23, 1, 1, 3, 7, 13, 1, 1, 23, 2, 3, 1, 305, 1, 13, 2, 23, 3, 1, 1, 7, 39, 2, 4, 69, 13, 1, 3, 69, 1, 1, 3, 299, 5, 2, 2, 7, 1, 3, 1, 23, 13, 1, 2, 305, 53, 39, 1, 46, 23, 4, 1, 21, 2, 13, 11, 23, 1, 3, 39, 19501, 2, 1, 29, 23, 1, 3, 2, 91, 3, 5, 39, 46, 3, 2, 2, 305, 2791, 1, 9, 69, 1, 1, 13, 7, 11, 13, 6
Offset: 1

Views

Author

Antti Karttunen, Nov 02 2021

Keywords

Crossrefs

Cf. A000203, A003961, A003973, A064989, A326042, A348751 (a(n) < n), A348752 (a(n) > n).

Programs

  • PARI
    A003961(n) = my(f = factor(n)); for (i=1, #f~, f[i, 1] = nextprime(f[i, 1]+1)); factorback(f); \\ From A003961
    A064989(n) = {my(f); f = factor(n); if((n>1 && f[1,1]==2), f[1,2] = 0); for (i=1, #f~, f[i,1] = precprime(f[i,1]-1)); factorback(f)};
    A348750(n) = A064989(A064989(sigma(A003961(A003961(n)))));

Formula

a(n) = A064989(A326042(A003961(n))).
Multiplicative with a(p^e) = A064989(A064989((q^(e+1)-1)/(q-1))), where q = nextPrime(nextPrime(p)).

A348753 Numbers k congruent to 1 or 5 mod 6, for which A064989(A064989(sigma(k))) < A064989(A064989(k)), where A064989 shifts the prime factorization one step towards lower primes, and sigma is the sum of divisors function.

Original entry on oeis.org

5, 7, 11, 13, 17, 19, 23, 29, 31, 35, 37, 41, 43, 47, 53, 55, 59, 61, 65, 67, 71, 73, 77, 79, 83, 85, 89, 91, 95, 97, 101, 103, 107, 109, 113, 115, 119, 125, 127, 131, 133, 137, 139, 143, 145, 149, 151, 155, 157, 161, 163, 167, 173, 179, 181, 185, 187, 191, 193, 197, 199, 203, 205, 209, 211, 215, 217, 221, 223, 227
Offset: 1

Views

Author

Antti Karttunen, Nov 04 2021

Keywords

Comments

Sequence A003961(A003961(A348751(n))), n>=1, sorted into ascending order.
a(38) = 125 is the first term not in A276378.
Not a subsequence of A348748. The first terms that occur here but not there are: 529, 605, 2825, 6425, 7025, 8425, 10825, 15425, 16025, 16325, 16925, 17689, ...
The first squares in this sequence are: 361, 529, 961, 1369, 1849, 2209, 2809, 3721, etc., see A348935 for their square roots.
Of the natural numbers < 2^20, 347712 are in this sequence and only 1812 in A348754.

Crossrefs

Programs

  • Mathematica
    f[2, e_] := 1; f[p_, e_] := NextPrime[p, -1]^e; s[1] = 1; s[n_] := Times @@ f @@@ FactorInteger[n]; Select[Range[250], MemberQ[{1, 5}, Mod[#, 6]] && s[s[DivisorSigma[1, #]]] < s[s[#]] &] (* Amiram Eldar, Nov 04 2021 *)
  • PARI
    A064989(n) = {my(f); f = factor(n); if((n>1 && f[1,1]==2), f[1,2] = 0); for (i=1, #f~, f[i,1] = precprime(f[i,1]-1)); factorback(f)};
    isA348753(n) = ((n%2)&&(n%3)&&(A064989(A064989(sigma(n))) < A064989(A064989(n))));

A348752 Numbers k for which A348750(k) > k.

Original entry on oeis.org

4, 9, 12, 16, 20, 25, 28, 32, 36, 48, 49, 64, 72, 80, 81, 100, 112, 116, 121, 128, 144, 162, 176, 180, 192, 196, 200, 208, 212, 225, 236, 240, 242, 243, 252, 256, 268, 272, 288, 300, 304, 320, 324, 336, 361, 384, 400, 405, 432, 441, 448, 450, 464, 468, 484, 496, 500, 512, 560, 567, 576, 588, 592, 596, 604, 625, 640
Offset: 1

Views

Author

Antti Karttunen, Nov 02 2021

Keywords

Crossrefs

Cf. A348754 (corresponding 5-rough numbers, terms of A007310).

Programs

Showing 1-3 of 3 results.