login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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