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

A228058 Odd numbers of the form p^(1+4k) * r^2, where p is prime of the form 1+4m, r > 1, and gcd(p,r) = 1. (Euler's criteria for odd perfect numbers).

Original entry on oeis.org

45, 117, 153, 245, 261, 325, 333, 369, 405, 425, 477, 549, 605, 637, 657, 725, 801, 833, 845, 873, 909, 925, 981, 1017, 1025, 1053, 1233, 1325, 1341, 1377, 1413, 1421, 1445, 1525, 1557, 1573, 1629, 1737, 1773, 1805, 1813, 1825, 2009, 2057, 2061, 2097, 2169
Offset: 1

Views

Author

T. D. Noe, Aug 13 2013

Keywords

Comments

It has been proved that if an odd perfect number exists, it belongs to this sequence. The first term of the form p^5 * n^2 is 28125 = 5^5 * 3^2, occurring in position 520.
Sequence A228059 lists the subsequence of these numbers that are closer to being perfect than smaller numbers. - T. D. Noe, Aug 15 2013
Sequence A326137 lists terms with at least five distinct prime factors. See further comments there. - Antti Karttunen, Jun 13 2019

Crossrefs

Subsequence of A191218, and also of A228056 and A228057 (simpler versions of this sequence).
For various subsequences with additional conditions, see A228059, A325376, A325380, A325822, A326137 (with omega(n)>=5), A324898 (conjectured, subsequence if it does not contain any prime powers), A354362, A386425 (conjectured), A386427 (nondeficient terms), A386428 (powerful terms), A386429 U A351574.

Programs

  • Haskell
    import Data.List (partition)
    a228058 n = a228058_list !! (n-1)
    a228058_list = filter f [1, 3 ..] where
       f x = length us == 1 && not (null vs) &&
             fst (head us) `mod` 4 == 1 && snd (head us) `mod` 4 == 1
             where (us,vs) = partition (odd . snd) $
                             zip (a027748_row x) (a124010_row x)
    -- Reinhard Zumkeller, Aug 14 2013
    
  • Mathematica
    nn = 100; n = 1; t = {}; While[Length[t] < nn, n = n + 2; {p, e} = Transpose[FactorInteger[n]]; od = Select[e, OddQ]; If[Length[e] > 1 && Length[od] == 1 && Mod[od[[1]], 4] == 1 && Mod[p[[Position[e, od[[1]]][[1,1]]]], 4] == 1, AppendTo[t, n]]]; t (* T. D. Noe, Aug 15 2013 *)
  • PARI
    up_to = 1000;
    isA228058(n) = if(!(n%2)||(omega(n)<2),0,my(f=factor(n),y=0); for(i=1,#f~,if(1==(f[i,2]%4), if((1==y)||(1!=(f[i,1]%4)),return(0),y=1), if(f[i,2]%2, return(0)))); (y));
    A228058list(up_to) = { my(v=vector(up_to), k=0, n=0); while(kA228058(n), k++; v[k] = n)); (v); };
    v228058 = A228058list(up_to);
    A228058(n) = v228058[n]; \\ Antti Karttunen, Apr 22 2019

Formula

From Antti Karttunen, Apr 22 2019 & Jun 03 2019: (Start)
A325313(a(n)) = -A325319(n).
A325314(a(n)) = -A325320(n).
A001065(a(n)) = A325377(n).
A033879(a(n)) = A325379(n).
A034460(a(n)) = A325823(n).
A325814(a(n)) = A325824(n).
A324213(a(n)) = A325819(n).
(End)

Extensions

Note in parentheses added to the definition by Antti Karttunen, Jun 03 2019

A325824 a(n) = A325814(A228058(n)).

Original entry on oeis.org

27, 75, 99, 203, 171, 255, 219, 243, 171, 335, 315, 363, 539, 539, 435, 575, 531, 707, 767, 579, 603, 735, 651, 675, 815, 507, 819, 1055, 891, 675, 939, 1211, 1343, 1215, 1035, 1419, 1083, 1155, 1179, 1691, 1547, 1455, 1715, 1859, 1371, 1395, 1443, 759, 1775, 1539, 1179, 1611, 1935, 1659, 2015, 1683, 2219, 1755, 2507, 2175, 1875, 2255
Offset: 1

Views

Author

Antti Karttunen, May 23 2019

Keywords

Comments

First negative term occurs as a(16307) = -210973, with A228058(16307) = 1289925. The next negative terms occurs as a(20807) = -242901, with A228058(20807) = 1686825.

Crossrefs

Programs

  • PARI
    up_to = 10000;
    isA228058(n) = if(!(n%2)||(omega(n)<2),0,my(f=factor(n),y=0); for(i=1,#f~,if(1==(f[i,2]%4), if((1==y)||(1!=(f[i,1]%4)),return(0),y=1), if(f[i,2]%2, return(0)))); (y));
    A228058list(up_to) = { my(v=vector(up_to), k=0, n=0); while(kA228058(n), k++; v[k] = n)); (v); };
    v228058 = A228058list(up_to);
    A228058(n) = v228058[n]; \\ Antti Karttunen, May 23 2019
    A034448(n) = { my(f=factorint(n)); prod(k=1, #f~, 1+(f[k, 1]^f[k, 2])); }; \\ After code in A034448
    A048146(n) = (sigma(n)-A034448(n));
    A325814(n) = (n-A048146(n));
    A325824(n) = A325814(A228058(n));

Formula

a(n) = A325814(A228058(n)).
a(n) = A325379(n) + A325823(n).

A325376 Terms k of A228058 such that gcd(k - A048250(k), A162296(k) - k) = A162296(k) - k.

Original entry on oeis.org

153, 477, 801, 1773, 2097, 2421, 3725, 4041, 4689, 4753, 5013, 5337, 6309, 6957, 7281, 7929, 8577, 8725, 9549, 9873, 11225, 11493, 13437, 14357, 14409, 14733, 15381, 17001, 17973, 18621, 19269, 19917, 21213, 21537, 23481, 24777, 25101, 25749, 26073, 26225, 26721, 27369, 28989, 29161, 29313, 29961, 31225, 32229, 32553, 33849
Offset: 1

Views

Author

Antti Karttunen, Apr 22 2019

Keywords

Comments

Also, terms of this sequence are A228058(k) for all such k that A325375(k) = A325320(k).
In range 1 .. 2^27 there are no such terms k of A228058 that gcd(k-A048250(k), A162296(k)-k) = k - A048250(k).
If any odd perfect number exists, then it must occur in this sequence, but should also satisfy the other condition given above.

Crossrefs

Programs

  • PARI
    A048250(n) = factorback(apply(p -> p+1,factor(n)[,1]));
    A162296(n) = sumdiv(n, d, d*(1-issquarefree(d)));
    isA228058(n) = if(!(n%2)||(omega(n)<2),0,my(f=factor(n),y=0); for(i=1,#f~,if(1==(f[i,2]%4), if((1==y)||(1!=(f[i,1]%4)),return(0),y=1), if(f[i,2]%2, return(0)))); (y));
    k=0; n=0; while(k<100,n++; if(isA228058(n) && (gcd(n-A048250(n),A162296(n)-n) == A162296(n)-n),k++; print1(n,", ")));

A325812 Numbers k such that gcd(A034448(k)-k, k-A048146(k)) is equal to abs(k-A048146(k)).

Original entry on oeis.org

1, 6, 12, 28, 56, 60, 108, 120, 132, 168, 264, 280, 312, 408, 420, 440, 456, 496, 528, 540, 552, 696, 700, 728, 744, 756, 760, 888, 984, 992, 1032, 1128, 1140, 1188, 1272, 1404, 1416, 1456, 1464, 1608, 1704, 1710, 1752, 1836, 1896, 1992, 2052, 2136, 2328, 2424, 2472, 2484, 2568, 2616, 2646, 2712, 3048, 3132, 3144, 3288, 3336, 3344
Offset: 1

Views

Author

Antti Karttunen, May 23 2019

Keywords

Comments

Numbers k for which A325813(k) is equal to abs(A325814(k)).
Numbers k such that A325814(k) is not zero (not in A064591) and divides A034460(k).
Conjecture: after the initial one all other terms are even. If this holds then there are no odd perfect numbers.

Crossrefs

Cf. A000396 (a subsequence).

Programs

Showing 1-4 of 4 results.