OFFSET
1,2
COMMENTS
If k is even, the number of units u in Z/kZ such that Phi(4,u) is a unit is zero.
LINKS
Jordan Lenchitz, Table of n, a(n) for n = 1..1000
MAPLE
m:=4 do for t from 1 to 1000 do n:=2*t-1: S:={}: for a from 0 to n-1 do if gcd(a, n)=1 and gcd(cyclotomic(m, a), n)=1 then S:={op(S), a}: fi: od: print(t, nops(S)): od: od:
PROG
(PARI) a(n) = sum(k=0, 2*n-2, (gcd(2*n-1, k)==1) && (gcd(2*n-1, polcyclo(4, k))==1)); \\ Michel Marcus, Jul 29 2017
CROSSREFS
KEYWORD
nonn,mult,easy
AUTHOR
Jordan Lenchitz, Michael Mueller, Tristan Phillips, Madison Wellen, Eric Jovinelly, Joshua Harrington, Jul 25 2017
STATUS
approved