login
A044474
Numbers n such that string 3,1 occurs in the base 5 representation of n but not of n+1.
0
16, 41, 66, 84, 91, 116, 141, 166, 191, 209, 216, 241, 266, 291, 316, 334, 341, 366, 391, 424, 441, 459, 466, 491, 516, 541, 566, 584, 591, 616, 641, 666, 691, 709, 716, 741, 766, 791, 816, 834, 841, 866, 891, 916, 941, 959, 966
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 5], {3, 1}]>0, 1, 0], {n, 1000}], {1, 0}][[All, 1]] (* Harvey P. Dale, Jul 26 2021 *)
CROSSREFS
Sequence in context: A100958 A246344 A044093 * A188861 A134593 A227816
KEYWORD
nonn,base
STATUS
approved