STATUS
reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
Numbers n k such that nk^2 is not divisible by any of its nonzero digits.
proposed
editing
editing
proposed
53 is in the sequence a term because 53^2 = 2809 which is not divisible by 2, 8 or 9.
(Python)
def ok(n): return not any(n*n%int(d) == 0 for d in str(n*n) if d != '0')
print(list(filter(ok, range(1, 614)))) # Michael S. Branicky, Jul 17 2021
approved
editing
editing
approved
ndnzQ[n_]:=Count[n^2/Select[IntegerDigits[n^2], #!=0&], _?IntegerQ]==0; Select[Range[750], ndnzQ] (* Harvey P. Dale, Jun 02 2015 *)
approved
editing
proposed
approved
editing
proposed