A214789 a(n) is the smallest k>=2 such that n divides A000045(k-1)+8.
2, 4, 2, 7, 4, 10, 8, 7, 2, 4, 5, 19, 6, 10, 18, 7, 25, 19, 13, 37, 8, 25, 31, 19, 38, 34, 19, 31, 9, 58, 25, 19, 35, 25, 15, 19, 45, 13, 24, 37, 27, 10, 30, 25, 24, 31, 23, 19, 24, 64, 67, 49, 61, 19, 15, 31, 67, 37, 20
Offset: 1
Keywords
Links
- Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
Programs
-
PARI
a(n)=my(k); while(((Mod([1,1;1,0],n))^k++)[1,2]!=-8, ); k+1 \\ Charles R Greathouse IV, Nov 25 2014
Extensions
Definition corrected. - R. J. Mathar, Aug 09 2012