login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A186304 A007522(n)-2. 2
5, 21, 29, 45, 69, 77, 101, 125, 149, 165, 189, 197, 221, 237, 261, 269, 309, 357, 365, 381, 429, 437, 461, 477, 485, 501, 597, 605, 629, 645, 717, 725, 741, 749, 821, 837, 861, 885, 909, 917, 965, 981, 989, 1029 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Extensions to Fermat’s Little Theorem precisely indicate a composite or prime number. See A186293 for an introduction to A186293-A186305.
The sequence shows p-2 where p are the primes == 7 (mod 8).
(k*p+(p-2)) ^ (j*(p-1)+1) == (k*p+((p-1)/2)) ^ (j*(p-1)+(p-2)) == p-2 (mod p).
LINKS
MATHEMATICA
Select[Prime[Range[200]], Mod[#, 8]==7&]-2 (* Harvey P. Dale, Dec 24 2021 *)
CROSSREFS
Sequence in context: A305914 A303036 A305343 * A316235 A317156 A304665
KEYWORD
nonn
AUTHOR
Marco Matosic, Feb 17 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 13:29 EDT 2024. Contains 371956 sequences. (Running on oeis4.)