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.

A034095 Indices of (-1)sigma perfect numbers.

Original entry on oeis.org

1, 1, 1, 1, 1, 2, 2, 2, 1, 1, 2, 1, 2, 2, 2, 2, 2, 3
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := (p^(e+1)-2*p+1)/(p-1); r[1] = 1; r[n_] := (Times @@ f @@@ FactorInteger[n])/n; Select[r /@ Range[10^5], IntegerQ] (* Amiram Eldar, Jul 07 2022 *)

Formula

a(n) = (-1)sigma(A034094(n))/A034094(n) where (-1)sigma(n) = A049060(n).

Extensions

a(1)=1 prepended and offset corrected by Michel Marcus, Jun 02 2016
a(10) and a(11) switched and missing term a(13) inserted by Amiram Eldar, Jul 07 2022

A051152 (-1)sigma sociable number of order 2: (-1)sigma((-1)sigma(x))=x, but (-1)sigma(x)<>x, where if x=Product p(i)^r(i) then (-1)sigma(x)=Product (-1+Sum p(i)^s(i), s(i)=1 to r(i)); (-1)sigma(1)=1.

Original entry on oeis.org

4, 5, 216, 494, 16800, 21228, 246400, 440220
Offset: 0

Views

Author

Keywords

Comments

Factorizations: 4, 5, 2^3*3^3, 2*13*19, 2^5*3*5^2*7, 2^2*3*29*61

Crossrefs

Programs

  • PARI
    A049060(n)={ local(i,resul,rmax,p) ; if(n==1, return(1) ) ; i=factor(n) ; rmax=matsize(i)[1] ; resul=1 ; for(r=1,rmax, p=0 ; for(j=1,i[r,2], p += i[r,1]^j ; ) ; resul *= p-1 ; ) ; return(resul) ; }
    isA051152(r)={ local(s,t) ; s=A049060(r) ; t=A049060(s) ; if( r == t && s !=r, return(1), return(0) ) ; }
    { for(n=1,30000000, if( isA051152(n), print(n," ") ) ; ) ; } \\ R. J. Mathar, Oct 12 2006

Extensions

More terms from R. J. Mathar, Oct 12 2006

A051153 (-1)-sigma super perfect numbers: (-1)sigma((-1)sigma(x))=2*x, where if x=Product p(i)^r(i) then (-1)sigma(x)=Product (-1+Sum p(i)^s(i), s(i)=1 to r(i)); (-1)sigma(1)=1.

Original entry on oeis.org

247, 988, 2808, 10440, 87696, 151200, 191052, 263520, 2630320, 3961980
Offset: 1

Views

Author

Keywords

Comments

Factorizations: 13*19, 2^3*3^2*5*29, 2^4*3^3*7*29, 2^5*3^3*5^2*7, 2^2*3^3*29*61, 2^5*3^3*5*61, 2^7*3*5*11*19*29*1021

Crossrefs

Programs

  • PARI
    A049060(n)={ local(i,resul,rmax,p) ; if(n==1, return(1) ) ; i=factor(n) ; rmax=matsize(i)[1] ; resul=1 ; for(r=1,rmax, p=0 ; for(j=1,i[r,2], p += i[r,1]^j ; ) ; resul *= p-1 ; ) ; return(resul) ; } isA051153(r)={ local(s,t) ; s=A049060(r) ; t=A049060(s) ; if( 2*r == t, return(1), return(0) ) ; } { for(n=1,30000000, if( isA051153(n), print(n,",") ) ; ) ; } \\ R. J. Mathar, Oct 12 2006

Formula

A049060(A049060(n))=2n. - R. J. Mathar, Oct 12 2006

Extensions

Corrected and extended by R. J. Mathar, Oct 12 2006
Showing 1-3 of 3 results.