login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A023173 Fibonacci(n) == 1 (mod n). 12
1, 2, 11, 19, 22, 29, 31, 38, 41, 58, 59, 61, 62, 71, 79, 82, 89, 101, 109, 118, 122, 131, 139, 142, 149, 151, 158, 178, 179, 181, 191, 199, 202, 211, 218, 229, 239, 241, 251, 262, 269, 271, 278, 281, 298, 302, 311, 323, 331, 349, 358, 359, 362, 379, 382, 389, 398, 401 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Sequence contains 1, A064739(k) for all k>=0, 2*A064739(k) for k>1. - Benoit Cloitre, Apr 06 2002

LINKS

Charles R Greathouse IV, Table of n, a(n) for n = 1..10000

MATHEMATICA

lst={}; Do[If[Mod[Fibonacci[n], n]==1, AppendTo[lst, n]], {n, 1, 7!}]; Take[Union[lst], 5! ] (* Vladimir Joseph Stephan Orlovsky, Apr 03 2009 *)

Join[{1}, Select[Range[500], Mod[Fibonacci[#], #]==1&]] (* Harvey P. Dale, Jan 14 2019 *)

PROG

(PARI) fibmod(n, m)=((Mod([1, 1; 1, 0], m))^n)[1, 2]

is(n)=fibmod(n, n)==1 \\ Charles R Greathouse IV, Oct 06 2016

CROSSREFS

Cf. A045468, A003631, A064739.

Sequence in context: A074926 A066144 A102343 * A018443 A163058 A079062

Adjacent sequences:  A023170 A023171 A023172 * A023174 A023175 A023176

KEYWORD

nonn,easy

AUTHOR

David W. Wilson

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 December 12 09:36 EST 2019. Contains 329953 sequences. (Running on oeis4.)