login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A341059
Numbers k such that A340179(k) is a square.
2
1, 2, 3, 4, 6, 8, 11, 12, 15, 17, 27, 48, 92, 6219, 24310
OFFSET
1,2
EXAMPLE
a(6) = 8 is a term because A340179(8) = 4 = 2^2.
MAPLE
f:= proc(n) local C, s, c;
C:=select(t -> igcd(t, n) = 1, [$1..n-1]);
s:= convert(C, `+`);
add(s mod c, c = C)
end proc:
select(t -> issqr(f(t)), [$1..7000]);
CROSSREFS
KEYWORD
nonn,more
AUTHOR
J. M. Bergot and Robert Israel, Feb 04 2021
STATUS
approved