cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A353438 Integers m such that the decimal expansion of 1/m contains the digit 2.

This page as a plain text file.
%I A353438 #11 Jul 01 2023 16:54:03
%S A353438 4,5,7,8,13,14,16,17,19,23,28,29,31,32,34,35,36,37,38,39,40,41,42,43,
%T A353438 44,45,46,47,48,49,50,51,52,53,56,57,58,59,61,62,64,67,68,69,70,71,76,
%U A353438 77,78,79,80,81,82,83,85,86,87,89,92,93,94,95,97,98,102,103,105,106,107,108,109
%N A353438 Integers m such that the decimal expansion of 1/m contains the digit 2.
%C A353438 If m is a term, 10*m is also a term, so terms with no trailing zeros are all primitive terms.
%e A353438 m = 8 is a term since 1/8 = 0.125.
%e A353438 m = 44 is a term since 1/44 = 0.022727272727... (here, 2 is the smallest digit).
%e A353438 m = 495 is a term since 1/495 = 0.002020202... (here, 2 is the largest digit).
%t A353438 f[n_] := Union[ Flatten[ RealDigits[ 1/n][[1]] ]]; Select[ Range@ 125, MemberQ[f@#, 2] &]
%Y A353438 A341383 (largest digit=2) and A352156 (smallest digit=2) are subsequences.
%Y A353438 Similar with digit k: A352154 (k=0), A353437 (k=1), this sequence (k=2), A353439 (k=3), A353440 (k=4), A353441 (k=5), A353442 (k=6), A353443 (k=7), A353444 (k=8), A333237 (k=9).
%K A353438 nonn,base
%O A353438 1,1
%A A353438 _Bernard Schott_ and _Robert G. Wilson v_, Apr 22 2022