Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A126949
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A126949 Moduli n for which -1 is a power residue for some power greater than 2: i.e. m^k == -1 mod n for some k>1 and some m>1. +0
1
5, 7, 9, 10, 11, 13, 14, 17, 18, 19, 21, 22, 23, 25, 26, 27, 28, 29, 31, 33, 34, 35, 36, 37, 38, 39, 41, 42, 43, 44, 45, 46, 47, 49, 50, 52, 53, 54, 55, 56, 57, 58, 59, 61, 62, 63, 65, 66, 67, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90 (list; graph; listen)
OFFSET

1,1

LINKS

A. Amiot, About autosimilar melodies.

EXAMPLE

19 is in the sequence because -1 == 10^9 mod 19.

MATHEMATICA

ord[x_, n_] := Module[{k = 1}, While[k <= EulerPhi[n]/2 && PowerMod[x, k, n] != n - 1, k++ ]; If[PowerMod[x, k, n] == n - 1, k, infinity]] iGeneralise[n_] := Module[{candidats = Range[n - 2]}, candidats = Select[candidats, (GCD[n, # ] == 1) &]; Select[candidats, (ord[ #, n] < n) &] ] sol = {}; Do[If[iGeneralise[n] != {}, AppendTo[sol, n]], {n, 2, 100}]

CROSSREFS

Cf. A008784.

Sequence in context: A143730 A160811 A116451 this_sequence A079696 A129270 A153031

Adjacent sequences: A126946 A126947 A126948 this_sequence A126950 A126951 A126952

KEYWORD

nonn

AUTHOR

Emmanuel Amiot (manu.amiot(AT)free.fr), Mar 19 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 29 12:46 EST 2009. Contains 167659 sequences.


AT&T Labs Research