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.

Showing 1-1 of 1 results.

A317726 Length of runs of terms in A104381 which differ only in the last decimal place.

Original entry on oeis.org

4, 4, 2, 3, 3, 2, 2, 3, 2, 3, 4, 1, 1, 3, 1, 2, 2, 2, 1, 4, 1, 3, 2, 1, 3, 2, 2, 2, 1, 1, 3, 2, 2, 2, 1, 2, 2, 1, 2, 1, 1, 3, 2, 2, 3, 1, 2, 2, 2, 2, 2, 1, 3, 2, 1, 2, 2, 3, 1, 3, 3, 1, 2, 1, 1, 3, 1, 1, 2, 1, 2, 2, 1, 1, 1, 1, 1, 4, 1, 3, 1, 1, 3, 2, 2, 1, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 3, 1, 1, 3, 1, 3, 2, 1, 2
Offset: 1

Views

Author

Keywords

Examples

			a(11) = 4 because there are four elements in A104381 which differ from each other only in their last digit: 101, 103, 107, and 109.
		

Crossrefs

Cf. A104381.

Programs

  • Mathematica
    Length /@ SplitBy[QuotientRemainder[#, 10] & /@ {1}~Join~Select[Range[1200], PowerMod[10, # - 1, #] == 1 &], First] (* Michael De Vlieger, Aug 05 2018, after Harvey P. Dale at A104381 *)

Extensions

More terms from Michael De Vlieger, Aug 05 2018
Showing 1-1 of 1 results.