cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A198032 Numbers m such that the number of distinct residues of the congruence x^m (mod 2m+1) equals 2m+1, x=0..2m.

This page as a plain text file.
%I A198032 #9 Jul 02 2021 03:49:11
%S A198032 0,1,7,17,19,25,27,43,47,55,57,59,61,71,77,79,91,93,97,101,107,109,
%T A198032 117,127,133,143,145,147,149,151,159,161,163,167,169,177,185,195,197,
%U A198032 199,203,205,207,223,227,235,241,257,259,263,267,271,275,277,289,291
%N A198032 Numbers m such that the number of distinct residues of the congruence x^m (mod 2m+1) equals 2m+1, x=0..2m.
%H A198032 Amiram Eldar, <a href="/A198032/b198032.txt">Table of n, a(n) for n = 0..10000</a>
%e A198032 a(2) = 7 because x^7  == 0, 1, ... 14  (mod 15) => 2*7+1 = 15 distinct residues.
%t A198032 lst:={};Table[If[Length[Union[PowerMod[Range[0,2*n],n,2*n+1]]]==2*n+1,AppendTo[lst,n]],{n,0,320}];lst
%Y A198032 Cf. A198020, A197930.
%K A198032 nonn
%O A198032 0,3
%A A198032 _Michel Lagneau_, Oct 20 2011