The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A062668 Composite and every divisor (except 1) contains the digit 3. 17

%I #16 Sep 08 2022 08:45:03

%S 39,93,309,339,393,403,713,933,939,993,1137,1293,1317,1329,1333,1339,

%T 1369,1389,1643,1703,1839,1893,2263,2319,2369,2573,3013,3029,3039,

%U 3071,3093,3099,3107,3117,3139,3151,3189,3193,3197,3279,3309,3369,3419,3459

%N Composite and every divisor (except 1) contains the digit 3.

%H Amiram Eldar, <a href="/A062668/b062668.txt">Table of n, a(n) for n = 1..10000</a>

%e 93 has divisors 1, 3, 31 and 93, all of which contain the digit 3.

%t fQ[n_, dgt_] := Union[ MemberQ[#, dgt] & /@ IntegerDigits@ Rest@ Divisors@ n][[1]]; Select[ Range[2, 3460], !PrimeQ[#] && fQ[#, 3] &] (* _Robert G. Wilson v_, Jun 11 2014 *)

%o (Magma) [k:k in [2..3500]| forall{d:d in Set(Divisors(k)) diff {1}| 3 in Intseq(d)}]; // _Marius A. Burtea_, Nov 07 2019

%Y Cf. A062653, A062664, A062667, A062669, A062670, A062671, A062672, A062673, A062674, A062675, A062676, A062677, A062678, A062679, A062680.

%K base,easy,nonn

%O 1,1

%A _Erich Friedman_, Jul 04 2001

%E Offset corrected by _Amiram Eldar_, Nov 07 2019

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 9 15:31 EDT 2024. Contains 373248 sequences. (Running on oeis4.)