Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A131652
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A131652 Primes p for which sum_{1 <= n < p} (n!|p) == 0 (mod p), where (n!|p) is the Legendre symbol. +0
1
3, 7, 59, 83, 89, 113, 367, 379, 467, 593, 907, 1217, 1699, 1777, 1951, 2287, 2383, 2999, 3019, 3121, 4271, 4817, 5839, 6481, 6569, 6719, 9479, 9743, 14867, 16103, 17443, 17839, 18523, 19841, 21803, 22003, 22147, 24151, 25391, 26399 (list; graph; listen)
OFFSET

1,1

LINKS

Robert G. Wilson v, Table of n, a(n) for n = 1..117.

EXAMPLE

7 is a term in the sequence because (1!|7) + (2!|7) + (3!|7) + (4!|7) + (5!|7) + (6!|7) = (1|7) + (2|7) + (6|7) + (24|7) + (120|7) + (720|7) = (1|7) + (2|7) + (6|7) + (3|7) + (1|7) + (6|7) = 1+1+(-1)+(-1)+1+(-1) = 0.

MATHEMATICA

fQ[n_] := Block[{p = Prime@n, s = 0, k = t = 1}, While[k < p, t = Mod[t*k, p]; k++; s = s + JacobiSymbol[t, p]]; s == 0]; Do[m = n; If[fQ@n, Print@Prime@n], {n, 4000}] - Robert G. Wilson v (rgwv(AT)rgwv.com), Sep 17 2007

fQ[p_] := Mod[ Sum[ JacobiSymbol[ k!, p], {k, p - 1}], p] == 0; Do[ If[ fQ@ Prime@ n, Print@ Prime@ n], {n, 3008}] - Robert G. Wilson v (rgwv(AT)rgwv.com), Sep 17 2007

CROSSREFS

Sequence in context: A144030 A130294 A100772 this_sequence A164895 A046859 A084289

Adjacent sequences: A131649 A131650 A131651 this_sequence A131653 A131654 A131655

KEYWORD

nonn

AUTHOR

Chris Monico (c.monico(AT)ttu.edu), Sep 10 2007

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Sep 17 2007

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Sep 17 2007

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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research