OFFSET
1,1
COMMENTS
Included because A001175 is still a mystery (as are many sequences of the same type).
The maximal value for a prime p > 5 is p-1 if p == 1 or 9 (mod 10) and 2*(p+1) if p == 3 or 7 (mod 10). See Wall's Theorems 6 and 7. These values are given in A253806. - Wolfdieter Lang, Jan 16 2015
Prime(n) is a member if and only if A296240(n) > 1. - Jonathan Sondow, Dec 10 2017
LINKS
D. D. Wall, Fibonacci series modulo m, Amer. Math. Monthly, 67 (1960), 525-532.
EXAMPLE
From Wolfdieter Lang, Jan 16 2015: (Start)
a(1) = 29 because A001175(29) = 14 but the maximal value is 29 - 1 = 28.
a(2) = 47 because A001175(47) = 32 but the maximal value is 2*(47 + 1) = 96.
All other primes p > 5 have A001175(p) = maximal value for p.
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Feb 28 2013
EXTENSIONS
Name corrected by Wolfdieter Lang, Jan 16 2015
STATUS
approved