A330981 Remodd numbers: having an odd remainder modulo all of their digits, digit 0 forbidden.
43, 47, 73, 87, 223, 227, 253, 267, 283, 289, 337, 343, 349, 367, 379, 397, 433, 439, 463, 467, 469, 477, 489, 493, 523, 553, 583, 643, 647, 649, 669, 673, 677, 687, 689, 733, 747, 787, 799, 823, 827, 829, 849, 853, 869, 883, 887, 889, 943, 997
Offset: 1
Examples
43 is in the sequence because 43 mod 4 = 3 and 43 mod 3 = 1 both are odd.
Links
- Giovanni Resta, Table of n, a(n) for n = 1..10000
- Eric Angelini, Remeven numbers, SeqFan list, Jan 05 2020.
Crossrefs
Programs
-
Magma
[k:k in [1..1000]|not 0 in Intseq(k) and forall{d:d in Intseq(k)|IsOdd(k mod d)}]; // Marius A. Burtea, Jan 07 2020
-
PARI
select( {is(n, d=Set(digits(n)))=d[1]&&!for(j=1,#d, bittest(n%d[j],0)||return)}, [1..2000])
Comments