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.

A009223 a(n) = gcd(sigma(n), phi(n)).

This page as a plain text file.
%I A009223 #21 May 11 2023 13:16:18
%S A009223 1,1,2,1,2,2,2,1,1,2,2,4,2,6,8,1,2,3,2,2,4,2,2,4,1,6,2,4,2,8,2,1,4,2,
%T A009223 24,1,2,6,8,2,2,12,2,4,6,2,2,4,3,1,8,2,2,6,8,24,4,2,2,8,2,6,4,1,12,4,
%U A009223 2,2,4,24,2,3,2,6,4,4,12,24,2,2,1,2,2,8,4,6,8,20,2,6,8,4,4,2,24,4,2,3,12,1,2,8
%N A009223 a(n) = gcd(sigma(n), phi(n)).
%C A009223 The asymptotic density of numbers k such that a(k) <= m for a given m is 0 (Dressler, 1974). - _Amiram Eldar_, Mar 02 2021
%H A009223 Charles R Greathouse IV, <a href="/A009223/b009223.txt">Table of n, a(n) for n = 1..10000</a>
%H A009223 Robert E. Dressler, <a href="https://doi.org/10.4153/CMB-1974-019-5">On a theorem of Niven</a>, Canadian Mathematical Bulletin, Vol. 17, No. 1 (1974), pp. 109-110.
%F A009223 a(n) = gcd(A000203(n), A000010(n)).
%t A009223 Table[GCD[DivisorSigma[1,n],EulerPhi[n]],{n,110}] (* _Harvey P. Dale_, Aug 10 2011 *)
%o A009223 (PARI) a(n)=gcd(sigma(n=factor(n)), eulerphi(n)) \\ _Charles R Greathouse IV_, Nov 27 2013
%o A009223 (Haskell)
%o A009223 a009223 n = gcd (a000203 n) (a000010 n)
%o A009223 -- _Reinhard Zumkeller_, Jan 19 2014
%Y A009223 Cf. A000010 (phi), A000203 (sigma).
%K A009223 nonn
%O A009223 1,3
%A A009223 _David W. Wilson_