OFFSET
1,1
COMMENTS
Only even terms (see the last line of the Example section to understand why).
EXAMPLE
a(1) = 74 and 5*74 = 370 is not divisible by 3, 7 or 0;
a(2) = 76 and 5*76 = 380 is not divisible by 3, 8 or 0;
a(3) = 86 and 5*86 = 430 is not divisible by 4, 3 or 0;
a(4) = 94 and 5*94 = 470 is not divisible by 4, 7 or 0; etc.
93 is not in the sequence as 5*93 = 465 is divisible by 5.
MATHEMATICA
q[n_] := AllTrue[IntegerDigits[5*n], # == 0 || !Divisible[5*n, #] &]; Select[Range[1340], q] (* Amiram Eldar, Mar 14 2022 *)
PROG
(Python)
def ok(n): return not any(5*n%int(d)==0 for d in set(str(5*n)) if d!='0')
print([k for k in range(1, 1277) if ok(k)]) # Michael S. Branicky, Mar 14 2022
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Eric Angelini and Carole Dubois, Mar 14 2022
STATUS
approved