login
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
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,1
LINKS
PROG
(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<m<n-1, sqrt_mod_iter(1, n)))[1:2] for n in count(2)))
A357099_list = list(islice(A357099_gen(), 30)) # Chai Wah Wu, Oct 26 2022
CROSSREFS
Column k=2 of A277776.
Sequence in context: A023590 A096919 A023594 * A277777 A254930 A317769
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Oct 25 2022
STATUS
approved