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.

A263152 a(n) is the greatest common unitary divisor of the friendly pairs, A050972(n) and A050973(n).

This page as a plain text file.
%I A263152 #13 Mar 05 2025 01:12:21
%S A263152 1,5,1,1,1,1,11,13,17,1,1,19,3,23,3,25,29,1,31,1,37,41,5,43,47,7,53,3,
%T A263152 1,55,7,2,1,59,61,9,65,67,71,9,73,11,79,83,85,11,5,5,89,11,13,95,97,
%U A263152 101,103,13,11,107,109,113,115,4,121,17,7,125,13,127,131
%N A263152 a(n) is the greatest common unitary divisor of the friendly pairs, A050972(n) and A050973(n).
%C A263152 Dividing both A050972(n) and A050973(n) by a "greater than 1" divisor of a(n), if any, will give a smaller friendly pair.
%C A263152 If a(n) is greater than 1, dividing both A050972(n) and A050973(n) will give a primitive friendly pair.
%H A263152 Michel Marcus, <a href="/A263152/b263152.txt">Table of n, a(n) for n = 1..10000</a>
%F A263152 a(n) = A165430(A050972(n), A050973(n)).
%F A263152 a(A263118(n)) = 1, the primitive friendly pairs.
%e A263152 The greatest common unitary divisor of the first friendly pair (6, 28) is 1, hence a(1) = 1.
%o A263152 (PARI) udivs(n) = {my(d = divisors(n)); select(x->(gcd(x, n/x)==1), d);}
%o A263152 ugcd(x,y) = vecmax(setintersect(udivs(x), udivs(y)));
%o A263152 lista(vp, vg) = {for (n=1, #vp, print1(ugcd(vp[n], vg[n])", ")); } \\ where vp and vg are A050972 and A050973
%Y A263152 Cf. A050972, A050973, A263118.
%Y A263152 Cf. A165430 (greatest common unitary divisor).
%K A263152 nonn
%O A263152 1,2
%A A263152 _Michel Marcus_, Oct 11 2015