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.

A353444 Integers m such that the decimal expansion of 1/m contains the digit 8.

Original entry on oeis.org

7, 12, 14, 17, 19, 23, 26, 28, 29, 31, 34, 35, 38, 42, 43, 46, 47, 48, 49, 51, 53, 54, 55, 56, 57, 58, 59, 61, 62, 63, 65, 67, 68, 69, 70, 71, 72, 73, 76, 77, 78, 79, 83, 85, 86, 87, 89, 91, 92, 93, 94, 95, 97, 98, 102, 103, 104, 105, 107, 109, 112, 113, 114, 115, 116, 117, 118
Offset: 1

Views

Author

Keywords

Comments

If m is a term, 10*m is also a term, so terms with no trailing zeros are all primitive terms.

Examples

			m = 12 is a term since 1/12 = 0.08333333333...
m = 17 is a term since 1/17 = 0.05882352941176470588235294117647...
m = 125 is a term since 1/125 = 0.008.
		

Crossrefs

A351474 (largest digit=8) and A352161 (smallest digit=8) are subsequences.
Similar with digit k: A352154 (k=0), A353437 (k=1), A353438 (k=2), A353439 (k=3), A353440 (k=4), A353441 (k=5), A353442 (k=6), A353443 (k=7), this sequence (k=8), A333237 (k=9).

Programs

  • Mathematica
    f[n_] := Union[ Flatten[ RealDigits[ 1/n][[1]] ]]; Select[ Range@ 150, MemberQ[f@#, 8] &]
    Select[Range[150],MemberQ[realDigitsRecip[#],8]&] (* The realDigitsRecip program is at A021200 *) (* Harvey P. Dale, Jan 11 2025 *)