%I #11 Feb 10 2020 18:24:44
%S 348511,38,155,389,778,1296,1828,2321,3683,3935,4078,6184,8783,9013,
%T 9880,15182,12449,19828,18884,14593,22316,25738,26064,26670,31953,
%U 33332,45025,35788,37881,50299,39562,49598,77850,56777,53024,70443,71992
%N a(j) = maximum value of n for each distinct increasing value of (Sum of the quadratic non-residues of prime(n) - Sum of the quadratic residues of prime(n)) / prime(n) for each j.
%C a(1) appears to increase indefinitely, so the static sequence starts from a(2).
%C The value of a(1) is the index of the largest prime p < 5*10^6 for which Sum of the quadratic non-residues of p = Sum of the quadratic residues of p.
%C The table below shows for each value of a(j) the corresponding values of p(a(j)) and (Sum of the quadratic non-residues of p(a(j)) - Sum of the quadratic residues of p(a(j))) / p(a(j)):
%C .
%C j a(j) prime(a(j)) (SQN-SQR)/prime(a(j))
%C -- ------ ----------- ---------------------
%C 1 348511 4999961 0
%C 2 38 163 1
%C 3 155 907 3
%C 4 389 2683 5
%C 5 778 5923 7
%C 6 1296 10627 9
%C 7 1828 15667 11
%C 8 2321 20563 13
%C 9 3683 34483 15
%C 10 3935 37123 17
%C 11 4078 38707 19
%C 12 6184 61483 21
%C 13 8783 90787 23
%C 14 9013 93307 25
%C 15 9880 103387 27
%C 16 15182 166147 29
%C 17 12449 133387 31
%C 18 19828 222643 33
%C 19 18884 210907 35
%C 20 14593 158923 37
%C 21 22316 253507 39
%C 22 25738 296587 41
%C 23 26064 300787 43
%C 24 26670 308323 45
%C 25 31953 375523 47
%C 26 33332 393187 49
%C 27 45025 546067 51
%C 28 35788 425107 53
%C 29 37881 452083 55
%C 30 50299 615883 57
%C 31 39562 474307 59
%C 32 49598 606643 61
%C 33 77850 991027 63
%C 34 56777 703123 65
%C 35 53024 652723 67
%C 36 70443 888427 69
%C 37 71992 909547 71
%C 38 70328 886867 73
%C 39 72479 916507 75
%H Christopher Hunt Gribble, <a href="/A166263/b166263.txt">Table of n, a(n) for n = 1..1973</a>.
%Y Cf. A165951, A165974, A004273.
%K nonn
%O 1,1
%A _Christopher Hunt Gribble_, Oct 10 2009
|