Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A002307
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
%I A002307 M0418 N0160
%S A002307 1,1,1,2,3,2,2,4,4,4,4,4,3,5,4,3,5,5,6,6,4,6,7,4,4,7,7,6,5,5,7,8,6,5,4,
               7,6,
%T A002307 6,6,6,6,6,6,4,7,6,7,7,7,5,6,6,6,7,6,7,8,7,10,6,9,9,7,10,5,5,8,5,8,6,6,
               8,9,
%U A002307 6,8,8,8,5,7,6,8,7,6,7,10,8,8,5,8,8,11,12,8,8,10,8,9,8,10,7,9,9,10,10,
               7,6,9
%N A002307 Consecutive quadratic residues mod p: a(n)=maximal number of positive 
               reduced quadratic residues which appear consecutively for n-th prime.
%C A002307 When prime(n) == 3 (mod 4), then a(n)=A002308(n). - T. D. Noe, Apr 03 
               2007
%D A002307 N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, 
               Academic Press, 1995 (includes this sequence).
%D A002307 N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 
               (includes this sequence).
%D A002307 A. A. Bennett, Consecutive quadratic residues, Bull. Amer. Math. Soc., 
               32 (1926), 283-284.
%H A002307 T. D. Noe, <a href="b002307.txt">Table of n, a(n) for n=1..10000</a>
%t A002307 f[l_, a_] := Module[{A = Split[l], B}, B = Last[ Sort[ Cases[A, x : {a 
               ..} :> {Length[x], Position[A, x][[1, 1]]}]]]; {First[B], Length[ 
               Flatten[ Take[A, Last[B] - 1]]] + 1}]; g[n_] := f[ JacobiSymbol[ 
               Range[ Prime[n] - 1], Prime[n]], 1][[1]]; Table[ g[n], {n, 2, 102}] 
               (from Robert G. Wilson v Jul 28 2004)
%Y A002307 Cf. A002308.
%Y A002307 Cf. A097159
%Y A002307 Sequence in context: A023574 A131340 A098534 this_sequence A029247 A053269 
               A163873
%Y A002307 Adjacent sequences: A002304 A002305 A002306 this_sequence A002308 A002309 
               A002310
%K A002307 nonn,easy,nice
%O A002307 1,4
%A A002307 N. J. A. Sloane (njas(AT)research.att.com).
%E A002307 More terms from David W. Wilson (davidwwilson(AT)comcast.net)

    
page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 29 12:46 EST 2009. Contains 167659 sequences.


AT&T Labs Research