login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A123062 Numbers k that divide 5^k + 2. 11
1, 7, 51373, 78127, 138943, 620299, 2842933, 137422693, 2259290321, 413879131637, 434757575329, 915535274009, 14864856896743 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

No further terms up to 10^15. Larger term: 64629734103979763971. - Max Alekseyev, Oct 15 2016

LINKS

Table of n, a(n) for n=1..13.

MATHEMATICA

Select[Range[1000000], IntegerQ[(PowerMod[5, #, # ]+2)/# ]&]

PROG

(PARI) is(n)=Mod(5, n)^n==-2 \\ Charles R Greathouse IV, Nov 04 2016

CROSSREFS

Solutions to 5^n == k (mod n): A067946 (k=1), A015951 (k=-1), A124246 (k=2), this sequence (k=-2), A123061 (k=3), A123052 (k=-3), A125949 (k=4), A123047 (k=-4), A123091 (k=5), A015891 (k=-5), A277350 (k=6), A277348 (k=-6).

Sequence in context: A210846 A068251 A033984 * A300201 A194194 A110719

Adjacent sequences:  A123059 A123060 A123061 * A123063 A123064 A123065

KEYWORD

hard,more,nonn

AUTHOR

Alexander Adamchuk, Nov 04 2006

EXTENSIONS

More terms from Farideh Firoozbakht, Nov 18 2006

a(9) from Ryan Propper, Jan 29 2007

a(10)-a(13) from Max Alekseyev, Jul 28 2009, Oct 15 2016

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 18 20:10 EDT 2021. Contains 347534 sequences. (Running on oeis4.)