login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A057128 Numbers n such that -3 is a square mod n. 6
1, 2, 3, 4, 6, 7, 12, 13, 14, 19, 21, 26, 28, 31, 37, 38, 39, 42, 43, 49, 52, 57, 61, 62, 67, 73, 74, 76, 78, 79, 84, 86, 91, 93, 97, 98, 103, 109, 111, 114, 122, 124, 127, 129, 133, 134, 139, 146, 147, 148, 151, 156, 157, 158, 163, 169, 172, 181, 182, 183, 186, 193 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

The fact that there are no numbers in this sequence of the form 6k+5 leads to the result that all prime factors of central polygonal numbers (A002061 of the form n^2-n+1) are either 3 or of the form 6k+1. This in turn leads to there being an infinite number of primes of the form 6k+1, since if P=product[all known primes of form 6k+1] then all the prime factors of 9P^2-3P+1 must be unknown primes of form 6k+1.

Numbers that are not multiples of 8 or 9 and for which all prime factors greater than 3 are congruent to 1 mod 6. - Eric M. Schmidt, Apr 21 2013

LINKS

Eric M. Schmidt, Table of n, a(n) for n = 1..1000

EXAMPLE

a(7)=13 since -3 mod 13=10 mod 13=6^2 mod 13.

PROG

(Sage)

def A057128(n) :

....if n%8==0 or n%9==0: return false

....for (p, m) in factor(n) :

........if p % 6 not in [1, 2, 3] : return false

........return true

end # Eric M. Schmidt, Apr 21 2013

CROSSREFS

Includes the primes in A045331 and these (primes congruent to {1, 2, 3} mod 6) are the prime factors of the terms in this sequence. Cf. A008784, A057125, A057126, A057127, A057129.

Sequence in context: A002235 A217132 A030705 * A018534 A018276 A057732

Adjacent sequences:  A057125 A057126 A057127 * A057129 A057130 A057131

KEYWORD

nonn

AUTHOR

Henry Bottomley, Aug 10 2000

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified June 17 23:56 EDT 2013. Contains 226327 sequences.