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.
5, 7, 11, 9, 11, 13, 7, 15, 19, 17, 23, 29, 19, 25, 11, 29, 23, 26, 17, 35, 27, 34, 15, 37, 19, 55, 33, 51, 43, 35, 47, 41, 19, 49, 39, 43, 53, 31, 29, 69, 59, 23, 71, 64, 47, 61, 56, 31, 89, 51, 67, 27, 34, 55, 89, 73, 41, 77, 91, 59, 64, 69, 19, 83, 63, 71
Offset: 1
Keywords
Links
- Alois P. Heinz, Table of n, a(n) for n = 1..20000
Programs
-
Python
from itertools import count, chain, islice from sympy.ntheory import sqrt_mod_iter def A357099_gen(): # generator of terms return chain.from_iterable((sorted(filter(lambda m:1
A357099_list = list(islice(A357099_gen(),30)) # Chai Wah Wu, Oct 26 2022