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.

A126161 Number of augmented amicable pairs (m,n) with m

Original entry on oeis.org

0, 0, 0, 1, 4, 9, 36, 84, 188, 420, 930, 1931
Offset: 1

Views

Author

Ant King, Dec 20 2006

Keywords

Examples

			a(6)=9 because there are 9 augmented amicable pairs with m<=10^6
		

Crossrefs

Programs

  • Mathematica
    s[n_]:=DivisorSigma[1,n]-n; AugmentedAmicableNumberQ[n_]:=If[s[s[n]+1]==n-1 && !DivisorSigma[1,n]==2n-1,True,False]; AugmentedAmicablePairList[ k_]:=(bnlist=Select[Range[k], AugmentedAmicableNumberQ[ # ]&]; newprlist= Table[Sort[{bnlist[[n]],s[bnlist[[n]]]+1}],{n,1,Length[bnlist]}]; augamprlist=Union[newprlist,newprlist]); data=AugmentedAmicablePairList[10^7]; Table[Length[Select[data,First[ # ]<10^k &]],{k,1,7}]

Formula

An augmented amicable pair (m,n) is a pair of integers m, n with m