OFFSET
3,1
LINKS
Alois P. Heinz, Table of n, a(n) for n = 3..65536
I. Anderson and D. A. Preece, Combinatorially fruitful properties of 3*2^(-1) and 3*2^(-2) modulo p, Discr. Math., 310 (2010), 312-324.
MAPLE
with(numtheory); [seq((ithprime(n)-1)/order((ithprime(n)+3)/2, ithprime(n)), n=3..130)];
MATHEMATICA
a[n_] := Module[{p=Prime[n]}, (p-1)/MultiplicativeOrder[(p+3)/2, p]]; Array[a, 100, 3] (* Amiram Eldar, Dec 03 2018 *)
PROG
(PARI) a(n) = my(p=prime(n)); (p-1)/znorder(Mod((p+3)/2, p)); \\ Michel Marcus, Dec 03 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Dec 24 2009
STATUS
approved