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!)
A357099 Second nontrivial square root of unity mod A033949(n), i.e., second smallest x > 1 such that x^2 == 1 mod the n-th positive integer that does not have a primitive root. 2

%I #38 Oct 26 2022 16:11:38

%S 5,7,11,9,11,13,7,15,19,17,23,29,19,25,11,29,23,26,17,35,27,34,15,37,

%T 19,55,33,51,43,35,47,41,19,49,39,43,53,31,29,69,59,23,71,64,47,61,56,

%U 31,89,51,67,27,34,55,89,73,41,77,91,59,64,69,19,83,63,71

%N Second nontrivial square root of unity mod A033949(n), i.e., second smallest x > 1 such that x^2 == 1 mod the n-th positive integer that does not have a primitive root.

%H Alois P. Heinz, <a href="/A357099/b357099.txt">Table of n, a(n) for n = 1..20000</a>

%o (Python)

%o from itertools import count, chain, islice

%o from sympy.ntheory import sqrt_mod_iter

%o def A357099_gen(): # generator of terms

%o return chain.from_iterable((sorted(filter(lambda m:1<m<n-1,sqrt_mod_iter(1,n)))[1:2] for n in count(2)))

%o A357099_list = list(islice(A357099_gen(),30)) # _Chai Wah Wu_, Oct 26 2022

%Y Column k=2 of A277776.

%Y Cf. A033949, A082568.

%K nonn

%O 1,1

%A _Alois P. Heinz_, Oct 25 2022

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 March 28 05:39 EDT 2024. Contains 371235 sequences. (Running on oeis4.)