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.

A039938 Smallest k for which k, 2k, ... nk all contain the digit 7.

Original entry on oeis.org

7, 37, 237, 1789, 4357, 14379, 19587, 93957, 189572, 189572, 189597, 189597, 189597, 1234397, 1839597, 1958798, 1983957, 1983957, 1983957, 1983957, 1983957, 1983957, 3978594, 11983957, 19596487, 29195397, 29195397, 29195397
Offset: 1

Views

Author

Keywords

Examples

			a(2)=37 since 37 and 74 contain a 7.
		

Crossrefs

Programs

  • Mathematica
    Table[SelectFirst[Range[10^6], Times @@ Boole@ Map[DigitCount[#, 10, 7] > 0 &, # Range@ n] > 0 &], {n, 12}] (* Michael De Vlieger, Apr 27 2017, Version 10 *)

Extensions

More terms from Patrick De Geest, Oct 15 1999