login
A044204
Numbers n such that string 2,1 occurs in the base 8 representation of n but not of n-1.
0
17, 81, 136, 145, 209, 273, 337, 401, 465, 529, 593, 648, 657, 721, 785, 849, 913, 977, 1041, 1088, 1160, 1169, 1233, 1297, 1361, 1425, 1489, 1553, 1617, 1672, 1681, 1745, 1809, 1873, 1937, 2001, 2065, 2129, 2184, 2193, 2257
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 8], {2, 1}]>0, 1, 0], {n, 2500}], {0, 1}][[;; , 2]] (* Harvey P. Dale, Jul 30 2023 *)
CROSSREFS
Sequence in context: A060934 A228602 A100688 * A044585 A373523 A373518
KEYWORD
nonn,base
STATUS
approved