A083702 Smallest number having Fibonacci(n) as least primitive root, or 0 if no such number exists.
2, 2, 3, 4, 6, 0, 457, 362, 48889, 108362, 3418682
Offset: 1
Examples
a(8) = 362 because 362 is the first number having Fibonacci(8) = 21 as least primitive root.
Programs
-
Mathematica
<< NumberTheory`NumberTheoryFunctions`; a = Table[ Fibonacci[i], {i, 2, 20}]; b = Table[0, {20}]; k = 1; Do[j = FromDigits[ Flatten[ Position[ a, PrimitiveRoot[n]]]]; If[ b[[j]] == 0, b[[j]] = n], {n, 2, 10^6}]; b
Formula
Extensions
Offset 1 from Michel Marcus, Oct 30 2018
a(4) corrected by Jianing Song, Oct 31 2018