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.

A282049 Least prime p such that n divides sigma(p*n).

This page as a plain text file.
%I A282049 #33 Feb 06 2017 02:08:14
%S A282049 2,3,2,3,19,5,13,7,17,19,43,2,103,2,19,31,67,5,37,19,41,43,137,5,149,
%T A282049 103,53,3,173,19,61,31,43,67,139,71,73,37,233,3,163,13,257,43,29,137,
%U A282049 281,11,97,149,67,103,211,17,109,13,113,173,353,2,487,61,251,127,389,43,401,67
%N A282049 Least prime p such that n divides sigma(p*n).
%C A282049 a(n) <= A038700(n). Numbers n such that a(n) is not equal to A038700(A017666(n)) are 6, 14, 24, 28, 60, 78, 84, 90, 120, 234, 248, 270, 336, 496, 532, 546, ...
%H A282049 Altug Alkan, <a href="/A282049/b282049.txt">Table of n, a(n) for n = 1..30000</a>
%e A282049 a(5) = 19 because 5 divides sigma(19*5) = 120 and 19 is the least prime number with this property.
%o A282049 (PARI) a(n) = {my(p=2); while (sigma(p*n) % n != 0, p = nextprime(p+1)); p; } \\ _David A. Corneth_, Feb 05 2017
%Y A282049 Cf. A000203, A227470
%K A282049 nonn
%O A282049 1,1
%A A282049 _Altug Alkan_, Feb 05 2017