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

A074806
Least k such that F(k) reduced (mod prime(n)) = prime(n)-1 where F(k) is the k-th Fibonacci number.
0
1, 3, 9, 7, 8, 13, 17, 16, 23, 12, 28, 37, 19, 43, 15, 53, 56, 29, 67, 68, 73, 76, 83, 21, 97, 48, 103, 35, 53, 37, 127, 128, 137, 44, 73, 48, 157, 163, 167, 173, 176, 88, 188, 193, 197, 20, 40, 223, 227, 112, 25, 236, 119, 248, 257, 87, 133, 268, 277, 27, 283, 293, 43
OFFSET
1,2
PROG
(PARI) a(n)=if(n<0, 0, s=1; while(fibonacci(s)%prime(n)<prime(n)-1, s++); s)
CROSSREFS
Sequence in context: A358614 A201760 A046261 * A010634 A362150 A267363
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Sep 08 2002
STATUS
approved