OFFSET
1,1
LINKS
Steven R. Finch, Average least nonresidues, December 4, 2013. [Cached copy, with permission of the author]
G. Martin and P. Pollack, The average least character non-residue and further variations on a theme of Erdős, J. London Math. Soc. 87 (2013) 22-42.
FORMULA
sum_{k >= 1} p_k^2/((p_1 + 1)(p_2 + 1)...(p_k + 1)), where p_k is the k-th prime number.
EXAMPLE
2.5350541803604388301655300071859083508611780138537...
MATHEMATICA
digits = 103; Clear[s]; s[m_] := s[m] = Sum[Prime[k]^2/Product[Prime[j] + 1, {j, 1, k}] , {k, 1, m}] // N[#, digits + 100]&; s[10]; s[m = 20]; While[RealDigits[s[m]] != RealDigits[s[m/2]], Print[m, " ", N[s[m]]]; m = 2*m]; RealDigits[s[m], 10, digits] // First
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Jean-François Alcover, Oct 24 2014
STATUS
approved