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.

A325819 a(n) = A324213(A228058(n)).

This page as a plain text file.
%I A325819 #6 Jun 04 2019 16:33:36
%S A325819 26,84,78,168,118,146,242,182,208,276,200,398,396,322,438,344,390,412,
%T A325819 536,628,432,338,582,472,558,840,512,824,640,726,1022,852,914,628,744,
%U A325819 616,1178,1018,858,1140,856,760,990,936,1490,1014,1564,1482,1104,1096,1196,1138,1008,1550,1556,1180,1474,1158,1508,858,2020
%N A325819 a(n) = A324213(A228058(n)).
%C A325819 If a(n) > 2 for all n, then there are no odd perfect numbers. See also the conjectures in A324213.
%H A325819 Antti Karttunen, <a href="/A325819/b325819.txt">Table of n, a(n) for n = 1..25000</a>
%F A325819 a(n) = A324213(A228058(n)).
%o A325819 (PARI)
%o A325819 up_to = 25000;
%o A325819 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));
%o A325819 A228058list(up_to) = { my(v=vector(up_to), k=0, n=0); while(k<up_to, n++; if(isA228058(n), k++; v[k] = n)); (v); };
%o A325819 v228058 = A228058list(up_to);
%o A325819 A228058(n) = v228058[n]; \\ _Antti Karttunen_, May 29 2019
%o A325819 A324213(n) = { my(s=sigma(n)); sum(i=0, s, (1==gcd(n-i, n-(s-i)))); };
%o A325819 A325819(n) = A324213(A228058(n));
%Y A325819 Cf. A228058, A324213, A325809.
%K A325819 nonn
%O A325819 1,1
%A A325819 _Antti Karttunen_, May 29 2019