login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Positive integers k that divide 7^k + 2.
6

%I #38 Dec 27 2024 02:56:10

%S 1,3,15,69,2155,34073,876047637,97090036327,420397381695,

%T 2125899832395,3177544777277,34434175473881,40845965389135,

%U 7267074621260963,11720938824295035,21419515204636141

%N Positive integers k that divide 7^k + 2.

%C All terms are odd.

%C Some larger terms: 5623143546839445899891, 46186634668308298262543001. - _Max Alekseyev_, Oct 18 2016

%F A066438(a(n)) = a(n) - 2 for n > 1.

%e 7^3 + 2 = 345 = 3 * 115, so 3 is a term.

%t Select[Range[1, 9999, 2], Divisible[7^# + 2, #] &] (* _Alonso del Arte_, Oct 11 2016 *)

%o (PARI) is(n) = Mod(7, n)^n==-2 \\ _Felix Fröhlich_, Oct 14 2016

%Y Cf. A066438.

%Y Cf. Solutions to 7^n == k (mod n): A277371 (k=-3), this sequence (k=-2), A015954 (k=-1), A067947 (k=1), A277401 (k=2), A277554 (k=3).

%K nonn,more

%O 1,2

%A _Seiichi Manyama_, Oct 11 2016

%E a(8)-a(13) from _Max Alekseyev_, Oct 18 2016

%E a(14)-a(16) from _Max Alekseyev_, Dec 27 2024