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.

A226586 Odd values of sigma(n) - phi(n) in the order of appearance and with repetition.

This page as a plain text file.
%I A226586 #33 Aug 12 2019 02:23:49
%S A226586 5,11,7,23,33,11,47,79,15,73,95,171,67,129,177,23,191,355,309,27,315,
%T A226586 385,283,289,383,723,35,739,393,39,687,801,489,1089,711,767,47,1459,
%U A226586 649,281,1599,969,801,607,1431,1633,59,1971,2581,63,1555,1535,1153,1069,2931,1605,927,1843,3319,2121
%N A226586 Odd values of sigma(n) - phi(n) in the order of appearance and with repetition.
%C A226586 Odd values of A051612(n) sorted along n.
%H A226586 Robert Israel, <a href="/A226586/b226586.txt">Table of n, a(n) for n = 1..10000</a>
%F A226586 sigma(4) - phi(4) = 7 - 2 = 5.  Since 5 is the first odd value of sigma(n) - phi(n), it appears first in the list.  So a(1) = 5.
%p A226586 select(type, [seq(numtheory:-sigma(n)-numtheory:-phi(n), n=1..2000)], odd); # _Robert Israel_, Aug 11 2019
%t A226586 Select[Table[DivisorSigma[1,n]-EulerPhi[n],{n,2000}],OddQ] (* _Harvey P. Dale_, Sep 27 2013 *)
%Y A226586 Cf. A051612, A028982.
%K A226586 nonn
%O A226586 1,1
%A A226586 _Wesley Ivan Hurt_, Jun 28 2013