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”).

A015888
Numbers k such that k | (3^k + 3).
11
1, 2, 3, 4, 6, 12, 15, 28, 366, 435, 532, 804, 1036, 4636, 6364, 7932, 11476, 15051, 19684, 40132, 75396, 80956, 247395, 266476, 280756, 307396, 356644, 490372, 531444, 544348, 557956, 565516, 572716, 808228, 1007574, 1256356, 1695484
OFFSET
1,2
LINKS
MATHEMATICA
Join[{1, 2}, Select[Range[17*10^5], PowerMod[3, #, #]==#-3&]] (* Harvey P. Dale, Mar 31 2024 *)
KEYWORD
nonn
EXTENSIONS
Terms 1, 2 inserted by Max Alekseyev, Nov 24 2017
STATUS
approved