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!)
A323703 Number of values of (X^3 + X) mod prime(n). 1

%I #67 Feb 23 2022 07:13:04

%S 1,3,3,5,7,9,11,13,15,19,21,25,27,29,31,35,39,41,45,47,49,53,55,59,65,

%T 67,69,71,73,75,85,87,91,93,99,101,105,109,111,115,119,121,127,129,

%U 131,133,141,149,151,153,155,159,161,167,171,175,179,181,185,187,189,195

%N Number of values of (X^3 + X) mod prime(n).

%C a(n) is also the number of values of any other polynomial of degree 3, except X^3.

%C a(n) appears to approach (2/3)*prime(n) as n increases.

%D R. Daublebsky von Sterneck, Über die Anzahl inkongruenter Werte, die eine ganze Funktion dritten Grades annimmt, Sitzungsber. Akad. Wiss. Wien (2A) 114 (1908), 711-717.

%H Alois P. Heinz, <a href="/A323703/b323703.txt">Table of n, a(n) for n = 1..10000</a>

%H Thomas Brazelton, Joshua Harrington, Matthew Litman, and Tony W. H. Wong, <a href="https://arxiv.org/abs/2103.09119">Distinct residues of Lucas polynomials over Fp</a>, arXiv:2103.09119 [math.NT], 2021. See p. 1.

%H Zhi-Hong Sun, <a href="http://matwbn.icm.edu.pl/ksiazki/aa/aa84/aa8441.pdf">On the theory of cubic residues and nonresidues</a>, Acta Arithmetica 84.4 (1998): 291-335.

%H Zhi-Hong Sun, <a href="https://doi.org/10.1016/j.jnt.2005.10.012">On the number of incongruent residues of x^4 +ax^2 +bx modulo p</a>, Journal of Number Theory 119 (2006), 210-241. See p. 211.

%F a(n) = prime(n) - 2*floor(prime(n)/6 + 1/2), for n >= 3. - _Ridouane Oudra_, Jun 13 2020

%F for n>=3, a(n) = (2*p + (p/3))/3 with p=prime(n) and where (p/3) is the Legendre symbol. See von Sterneck, Sun, and Brazelton et al. articles. - _Michel Marcus_, Mar 17 2021

%e a(1) = 1 since the only value X^3 + X takes mod 2 is 0.

%t Array[Length@ Union@ Mod[Array[#^3 + # &, #], #] &@ Prime@ # &, 62] (* _Michael De Vlieger_, Jan 27 2019 *)

%o (PARI) a(n) = #Set(vector(prime(n), k, Mod(k^3+k, prime(n)))); \\ _Michel Marcus_, Jan 25 2019

%Y Cf. A323704 (the number of values of X^3), A130291 (the number of values of X^2, which is also the number of values of any other polynomial of degree 2).

%K nonn

%O 1,2

%A _Florian Severin_, Jan 24 2019

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 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)