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.
%I A323380 #16 Nov 18 2019 22:22:21 %S A323380 315,405,525,693,765,945,1125,1155,1395,1575,1755,1785,1845,1995,2205, %T A323380 2475,2565,2805,2835,3003,3045,3285,3315,3465,3645,3675,3885,4095, %U A323380 4125,4275,4347,4455,4515,4725,4995,5115,5355,5445,5733,5775,5805,6045,6195,6237,6405,6435 %N A323380 Odd n such that sigma(n) > sigma(n+1) and sigma(n) > sigma(n-1), sigma = A000203. %C A323380 Numbers k such that k is in A067828 and that k - 1 is in A067825. %C A323380 It's often the case that the sum of divisors for an odd number is less than at least one of its adjacent even numbers. This sequence lists the exceptions. %C A323380 Most terms are congruent to 3 modulo 6. It seems that the smallest term not congruent to 3 modulo 6 is greater than 10^12. %H A323380 K. D. Bajpai, <a href="/A323380/b323380.txt">Table of n, a(n) for n = 1..10000</a> %e A323380 sigma(314) = 474, sigma(315) = 624, sigma(316) = 560, so 315 is a term. %t A323380 Select[Range[1,8000,2],DivisorSigma[1,#] > DivisorSigma[1,(#+1)] && DivisorSigma[1,#] > DivisorSigma[1,(#-1)] &] (* _K. D. Bajpai_, Nov 19 2019 *) %o A323380 (PARI) forstep(n=3,2000,2,if(sigma(n)>sigma(n-1)&&sigma(n)>sigma(n+1), print1(n, ", "))) %Y A323380 Cf. A000203, A067825, A067828; %Y A323380 Similar sequences: A076773, A323379. %K A323380 nonn %O A323380 1,1 %A A323380 _Jianing Song_, Jan 12 2019