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-10 of 14 results. Next

A260086 Smaller of amicable pair (x, y) as they are listed in A259933.

Original entry on oeis.org

220, 1184, 2620, 5020, 6232, 10744, 12285, 17296, 66928, 67095, 63020, 69615, 79750, 100485, 122368, 122265, 141664, 142310, 171856, 176272, 185368, 196724, 280540, 308620, 319950, 356408, 437456, 469028, 503056, 522405, 600392, 609928, 643336, 624184, 635624, 667964, 726104, 802725, 879712, 898216, 998104, 947835
Offset: 1

Views

Author

Omar E. Pol, Jul 15 2015

Keywords

Comments

Another version of A002025.
First differs from A002025 at a(9).

Crossrefs

Formula

a(n) = A259933(2n-1) = A259953(n) - A259933(2n) = A259953(n) - A260087(n).

A260087 Larger of amicable pair (x, y) as they are listed in A259933.

Original entry on oeis.org

284, 1210, 2924, 5564, 6368, 10856, 14595, 18416, 66992, 71145, 76084, 87633, 88730, 124155, 123152, 139815, 153176, 168730, 176336, 180848, 203432, 202444, 365084, 389924, 430402, 399592, 455344, 486178, 514736, 525915, 669688, 686072, 652664, 691256, 712216, 783556, 796696, 863835, 901424, 980984, 1043096, 1125765
Offset: 1

Views

Author

Omar E. Pol, Jul 15 2015

Keywords

Comments

Another version of A002046.
First differs from A002046 at a(9).

Crossrefs

Formula

a(n) = A259933(2n) = A259953(n) - A259933(2n-1) = A259953(n) - A260086(n).

A275469 Difference between the larger and smaller terms of the n-th amicable pair (x,y) given in A259933.

Original entry on oeis.org

64, 26, 304, 544, 136, 112, 2310, 1120, 64, 4050, 13064, 18018, 8980, 23670, 784, 17550, 11512, 26420, 4480, 4576, 18064, 5720, 84544, 81304, 110852, 43184, 17888, 17150, 11680, 3510, 69296, 76144, 9328, 67072, 76592, 115592, 70592, 61110, 21712, 82768
Offset: 1

Views

Author

Timothy L. Tiffin, Jul 28 2016

Keywords

Comments

Each term represents the length of an interval (x,y), where x (A260086) and y (A260087) form a pair of amicable numbers (A259933). The midpoint and radius of each interval can be found in A275316 and A275470, respectively.
Each term will be even as long as there does not exist an amicable pair where x and y have opposite parity.
This sequence is a rearrangement of A066539 (which is based on A002025, A002046, and A259180). The first ten indices for which a(n) does not equal A066539(n) are n = 9, 10, 11, 15, 16, 33, 34, 35, 41, 42.

Examples

			a(1) = 284 - 220 = 64, a(2) = 1210 - 1184 = 26, and a(3) = 2924 - 2620 = 304.
		

Crossrefs

Formula

a(n) = A260087(n) - A260086(n).

A275470 Half the difference between the larger and smaller terms of the n-th amicable pair (x,y) given in A259933.

Original entry on oeis.org

32, 13, 152, 272, 68, 56, 1155, 560, 32, 2025, 6532, 9009, 4490, 11835, 392, 8775, 5756, 13210, 2240, 2288, 9032, 2860, 42272, 40652, 55426, 21592, 8944, 8575, 5840, 1755, 34648, 38072, 4664, 33536, 38296, 57796, 35296, 30555, 10856, 41384
Offset: 1

Views

Author

Timothy L. Tiffin, Jul 28 2016

Keywords

Comments

Each term represents the radius of an interval (x,y), where x (A260086) and y (A260087) form a pair of amicable numbers (A259933). The midpoint and length of each interval can be found in A275316 and A275469, respectively.
A term will be odd if and only if y-x = 2 mod 4. This occurs when x and y have the same parity but their average has the opposite parity.
This sequence is a rearrangement of A162884 (which is based on A002025, A002046, and A066539). The first ten indices for which a(n) does not equal A162884(n) are n = 9, 10, 11, 15, 16, 33, 34, 35, 41, 42.

Examples

			a(1) = (284-220)/2 = 64/2 = 32, a(2) = (1210-1184)/2 = 26/2 = 13, and a(3) = (2924-2620)/2 = 304/2 = 152.
		

Crossrefs

Formula

a(n) = [A260087(n) - A260086(n)]/2 = A275469(n)/2.

A063990 Amicable numbers.

Original entry on oeis.org

220, 284, 1184, 1210, 2620, 2924, 5020, 5564, 6232, 6368, 10744, 10856, 12285, 14595, 17296, 18416, 63020, 66928, 66992, 67095, 69615, 71145, 76084, 79750, 87633, 88730, 100485, 122265, 122368, 123152, 124155, 139815, 141664, 142310
Offset: 1

Views

Author

N. J. A. Sloane, Sep 18 2001

Keywords

Comments

A pair of numbers x and y is called amicable if the sum of the proper divisors of either one is equal to the other. The smallest pair is x = 220, y = 284.
The sequence lists the amicable numbers in increasing order. Note that the pairs x, y are not adjacent to each other in the list. See also A002025 for the x's, A002046 for the y's.
Theorem: If the three numbers p = 3*(2^(n-1)) - 1, q = 3*(2^n) - 1 and r = 9*(2^(2n-1)) - 1 are all prime where n >= 2, then p*q*(2^n) and r*(2^n) are amicable numbers. This 9th century theorem is due to Thabit ibn Kurrah (see for example, the History of Mathematics by David M. Burton, 6th ed., p. 510). - Mohammad K. Azarian, May 19 2008
The first time a pair ordered by its first element is not adjacent is x = 63020, y = 76084 which correspond to a(17) and a(23), respectively. - Omar E. Pol, Jun 22 2015
For amicable pairs see A259180 and also A259933. First differs from A259180 (amicable pairs) at a(18). - Omar E. Pol, Jun 01 2017
Sierpiński (1964), page 176, mentions Erdős's work on the number of pairs of amicable numbers <= x. - N. J. A. Sloane, Dec 27 2017
Kanold (1954) proved that the asymptotic upper density of amicable numbers is < 0.204 and Erdős (1955) proved that it is 0. - Amiram Eldar, Feb 13 2021

References

  • Scott T. Cohen, Mathematical Buds, Ed. Harry D. Ruderman, Vol. 1, Chap. VIII, pp. 103-126, Mu Alpha Theta, 1984.
  • Clifford A. Pickover, The Math Book, Sterling, NY, 2009; see p. 90.
  • Wacław Sierpiński, Elementary Theory of Numbers, Panst. Wyd. Nauk, Warsaw, 1964.
  • James J. Tattersall, Elementary Number Theory in Nine Chapters, Cambridge University Press, 1999, pages 137-141.
  • David Wells, The Penguin Dictionary of Curious and Interesting Numbers, Penguin Books, 1987, pp. 145-147.

Crossrefs

Union of A002025 and A002046.
A180164 (gives for each pair (x, y) the value x+y = sigma(x)+sigma(y)).
Cf. A259180.

Programs

  • Maple
    F:= proc(t) option remember; numtheory:-sigma(t)-t end proc:
    select(t -> F(t) <> t and F(F(t))=t, [$1.. 200000]); # Robert Israel, Jun 22 2015
  • Mathematica
    s[n_] := DivisorSigma[1, n] - n; AmicableNumberQ[n_] := If[Nest[s, n, 2] == n && ! s[n] == n, True, False]; Select[Range[10^6], AmicableNumberQ[ # ] &] (* Ant King, Jan 02 2007 *)
    Select[Tally[Sort/@Table[{n,DivisorSigma[1,n]-n},{n,200000}]],#[[2]]==2&][[;;,1]]//Flatten//Sort (* Harvey P. Dale, Jan 13 2025 *)
  • PARI
    aliquot(n)=sigma(n)-n
    isA063990(n)={if (n>1, local(a);a=aliquot(n);a<>n && aliquot(a)==n)} \\ Michael B. Porter, Apr 13 2010
    
  • Python
    from sympy import divisors
    A063990 = [n for n in range(1,10**5) if sum(divisors(n))-2*n and not sum(divisors(sum(divisors(n))-n))-sum(divisors(n))] # Chai Wah Wu, Aug 14 2014

Formula

Pomerance shows that there are at most x/exp(sqrt(log x log log log x)/(2 + o(1))) terms up to x for sufficiently large x. - Charles R Greathouse IV, Jul 21 2015
Sum_{n>=1} 1/a(n) is in the interval (0.0119841556, 215) (Nguyen and Pomerance, 2019; an upper bound 6.56*10^8 was given by Bayless and Klyve, 2011). - Amiram Eldar, Oct 15 2020

A259180 Amicable pairs.

Original entry on oeis.org

220, 284, 1184, 1210, 2620, 2924, 5020, 5564, 6232, 6368, 10744, 10856, 12285, 14595, 17296, 18416, 63020, 76084, 66928, 66992, 67095, 71145, 69615, 87633, 79750, 88730, 100485, 124155, 122265, 139815, 122368, 123152, 141664, 153176, 142310, 168730, 171856, 176336, 176272, 180848, 185368, 203432, 196724, 202444, 280540, 365084
Offset: 1

Views

Author

Omar E. Pol, Jun 20 2015

Keywords

Comments

A pair of numbers x and y is called amicable if the sum of the proper divisors (or aliquot parts) of either one is equal to the other.
This is A002025 and A002046 interleaved hence the amicable pairs (x < y), ordered by increasing x, are adjacent to each other in the list.
By definition a property of the amicable pair (x, y) is that x + y = sigma(x) = sigma(y).
Amicable numbers A063990 are the terms of this sequence in increasing order.
First differs from A063990 at a(18).
For another version see A259933.
First differs from A259933 at a(17).

Examples

			  ------------------------------------
         Amicable pair          Sum
            x      y           x + y
  ------------------------------------
   n    A002025 A002046      A180164
  ------------------------------------
   1       220     284          504
   2      1184    1210         2394
   3      2620    2924         5544
   4      5020    5564        10584
   5      6232    6368        12600
   6     10744   10856        21600
   7     12285   14595        26880
   8     17296   18416        35712
   9     63020   76084       139104
  10     66928   66992       133920
  11     67095   71145       138240
  12     69615   87633       157248
  ...      ...     ...          ...
The sum of the proper divisors (or aliquot parts) of 220 is 1 + 2 + 4 + 5 + 10 + 11 + 20 + 22 + 44 + 55 + 110 = 284. On the other hand the sum of the proper divisors (or aliquot parts) of 284 is 1 + 2 + 4 + 71 + 142 = 220. Note that 220 + 284 = sigma(220) = sigma(284) = 504. The smallest amicable pair is (220, 284), so a(1) = 220 and a(2) = 284.
		

Crossrefs

Programs

  • Mathematica
    f[n_] := Block[{s = {}, g, k}, g[x_] := DivisorSigma[1, x] - x; Do[k = g@ i; If[And[g@ k == i, k != i, ! MemberQ[s, i]], s = s~Join~{i, k}], {i, n}]; s]; f@ 300000 (* Michael De Vlieger, Jul 02 2015 *)
  • PARI
    A259180_upto(N, L=List(), s)={ forfactored(n=1, N, (s=sigma(n[2]))>2*n[1] && sigma(s-n[1])==s && listput(L, [n[1], s-n[1]]));concat(L)} \\ M. F. Hasler, Oct 11 2019

Formula

a(2n-1) = A002025(n); a(2n) = A002046(n).
a(2n-1) + a(2n) = A000203(a(2n-1)) = A000203(a(2n)) = A180164(n).

A275316 Average of amicable pairs (x,y), ordered by the sum x+y given in A259953.

Original entry on oeis.org

252, 1197, 2772, 5292, 6300, 10800, 13440, 17856, 66960, 69120, 69552, 78624, 84240, 112320, 122760, 131040, 147420, 155520, 174096, 178560, 194400, 199584, 322812, 349272, 374976, 378000, 446400, 477603, 508896, 524160, 635040, 648000, 648000, 657720, 673920, 725760, 761400, 833280, 890568, 939600
Offset: 1

Views

Author

Timothy L. Tiffin, Jul 22 2016

Keywords

Comments

Each term represents the midpoint of an interval (x,y), where x (A260086) and y (A260087) form a pair of amicable numbers (A259933). The length and radius of each interval can be found in A275469 and A275470, respectively.
This sequence is monotonic (specifically, nondecreasing), since x+y (A259953) is nondecreasing. For a nonmonotonic ordering of these averages, see A275315.
It is unknown if there exists an amicable pair where x and y have opposite parity (one is even and the other is odd). If such a pair is ever found, then the compound adjective "same-parity" will need to be added to the name of this sequence.

Examples

			a(  1) = (     220 +      284)/2 =      504/2 =      252.
a(  2) = (    1184 +     1210)/2 =     2394/2 =     1197.
a(  3) = (    2620 +     2924)/2 =     5544/2 =     2772.
...      ...                 ...          ...         ...
a(  9) = (   66928 +    66992)/2 =   133920/2 =    66960.
a( 10) = (   67095 +    71145)/2 =   138240/2 =    69120.
a( 11) = (   63020 +    76084)/2 =   139104/2 =    69552.
...      ...                 ...          ...         ...
a( 15) = (  122368 +   123152)/2 =   245520/2 =   122760.
a( 16) = (  122265 +   139815)/2 =   262080/2 =   131040.
a( 17) = (  141664 +   153176)/2 =   294840/2 =   147420.
...      ...                 ...          ...         ...
a( 32) = (  609928 +   686072)/2 =  1296000/2 =   648000.
a( 33) = (  643336 +   652664)/2 =  1296000/2 =   648000.
...      ...                 ...          ...         ...
a(107) = ( 9478910 + 11049730)/2 = 20528640/2 = 10264320.
a(108) = (10254970 + 10273670)/2 = 20528640/2 = 10264320.
...      ...                 ...          ...         ...
a(139) = (17754165 + 19985355)/2 = 37739520/2 = 18869760.
a(140) = (17844255 + 19895265)/2 = 37739520/2 = 18869760.
...      ...                 ...          ...         ...
		

Crossrefs

Programs

  • Mathematica
    With[{s = PositionIndex@ Array[DivisorSigma[1, #] &, 10^6]}, Flatten@ Map[Mean, Apply[Join, Map[Function[n, Select[Subsets[Lookup[s, n], {2}], Total@ # == n &]], Sort@ Select[Keys@ s, Length@ Lookup[s, #] > 1 &]]]]] (* Michael De Vlieger, Oct 22 2017 *)

Formula

a(n) = [A260086(n) + A260087(n)]/2 = A259953(n)/2.

A259953 The sum (in nondecreasing order) of the two numbers in an amicable pair.

Original entry on oeis.org

504, 2394, 5544, 10584, 12600, 21600, 26880, 35712, 133920, 138240, 139104, 157248, 168480, 224640, 245520, 262080, 294840, 311040, 348192, 357120, 388800, 399168, 645624, 698544, 749952, 756000, 892800, 955206, 1017792, 1048320, 1270080, 1296000, 1296000, 1315440, 1347840, 1451520, 1522800, 1666560, 1781136, 1879200, 2041200
Offset: 1

Views

Author

Omar E. Pol, Jul 10 2015

Keywords

Comments

Also the common value of sigma(x) = sigma(y) of the amicable pairs (x < y) ordered by nondecreasing sum (x + y). See A259933.
Duplicates occur, e.g., a(32) = a(33) = 1296000.
Another version of A180164.
First differs from both A161005 and A180164 at a(9).

Examples

			------------------------------------------
      A m i c a b l e   p a i r      Sum
------------------------------------------
n     A260086(n)  +  A260087(n)  =   a(n)
------------------------------------------
1         220            284          504
2        1184           1210         2394
3        2620           2924         5544
4        5020           5564        10584
5        6232           6368        12600
6       10744          10856        21600
7       12285          14595        26880
8       17296          18416        35712
9       66928          66992       133920
10      67095          71145       138240
11      63020          76084       139104
12      69615          87633       157248
...       ...            ...          ...
32     609928         686072      1296000
33     643336         652664      1296000
...
		

Crossrefs

Formula

a(n) = A259933(2n-1) + A259933(2n) = A260086(n) + A260087(n).

A262622 Amicable pairs of even numbers.

Original entry on oeis.org

220, 284, 1184, 1210, 2620, 2924, 5020, 5564, 6232, 6368, 10744, 10856, 17296, 18416, 63020, 76084, 66928, 66992, 79750, 88730, 122368, 123152, 141664, 153176, 142310, 168730, 171856, 176336, 176272, 180848, 185368, 203432, 196724, 202444, 280540, 365084, 308620, 389924, 319550, 430402, 356408, 399592, 437456, 455344
Offset: 1

Views

Author

Omar E. Pol, Nov 09 2015

Keywords

Comments

If there are no amicable pairs whose members have distinct parity then this is also the even terms of A259180.
First differs from A063990, A259180, A259933 at a(13).
First differs from A262624 at a(16).

Crossrefs

Programs

  • PARI
    listap(nn) = {forstep(n=2, nn, 2, m = sigma(n)-n; if ((m > n) && (n==sigma(m)-m), print1(n, ", ", m, ", ")););} \\ Michel Marcus, Nov 14 2015

A291422 List of pairs of amicable numbers (m,n) where the sum of the pair is divisible by 10.

Original entry on oeis.org

6232, 6368, 10744, 10856, 12285, 14595, 66928, 66992, 67095, 71145, 79750, 88730, 100485, 124155, 122265, 139815, 122368, 123152, 141664, 153176, 142310, 168730, 176272, 180848, 185368, 203432, 356408, 399592, 437456, 455344, 522405, 525915, 600392, 669688, 609928, 686072
Offset: 1

Views

Author

Zoltan Galantai, Aug 22 2017

Keywords

Comments

The sequence lists those amicable pairs (m,n) in increasing order where the sum of the amicable pair is divisible by ten.
Up to the first 5001 amicable pairs, 88.1% of the sums satisfy this condition (up to the first 100 amicable pairs: 74%; up to the first 1000: 82.5%; up to 2000: 85.25%). So the conjecture here is that as the number of the amicable numbers approaches infinity, the percentage of the sums of the amicable pairs divisible by ten approaches 100%. [corrected by Paul Zimmermann, Feb 05-06 2019]
Among the 1947667 pairs up to 19 digits from Sergei Chernykh's database, there are 1872573 pairs with m+n divisible by ten, thus about 96.14%. - Paul Zimmermann, Feb 07 2019

Examples

			The sum of 6232 and 6368 is divisible by ten, thus the (6232, 6368) amicable pair belongs to the sequence. On the other hand, the (220, 284) amicable pair does not qualify since its sum is 504.
		

References

  • Richard K. Guy, Unsolved Problems in Number Theory, Springer-Verlag, 1994, pp. 55-58.
  • Eric W. Weisstein, CRC Concise Encyclopedia of Mathematics, Chappman and HALL/CRC, 2003, pp. 67-69.

Crossrefs

Programs

  • PARI
    lista(nn) = {for (n=1, nn, spd = sigma(n)-n; if ((spd > n) && (sigma(spd)-spd == n) && !((n + spd) % 10), print1(n, ", ", spd, ", ")););} \\ Michel Marcus, Aug 26 2017
Showing 1-10 of 14 results. Next