OFFSET
1,1
COMMENTS
Numbers k such that 24k - 1 is in A367318. Note that all terms there are congruent to 23 modulo 24.
LINKS
Jianing Song, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = (A367318(n) + 1)/24.
EXAMPLE
8 is a term since the multiplicative order of 2 modulo 24*8 - 1 = 191 is 95, and the multiplicative order of 2 modulo 24*8 + 1 = 193 is 96.
PROG
(PARI) isA377561(k) = znorder(Mod(2, 24*k-1))==12*k-1 && znorder(Mod(2, 24*k+1))==12*k \\ No need to check primality as the multiplicative order of 2 modulo a composite odd number m cannot be equal to (m-1)/2; see my comment in A001567
CROSSREFS
KEYWORD
nonn
AUTHOR
Jianing Song, Nov 01 2024
STATUS
approved