login
A044589
Numbers n such that string 2,5 occurs in the base 8 representation of n but not of n+1.
0
21, 85, 149, 175, 213, 277, 341, 405, 469, 533, 597, 661, 687, 725, 789, 853, 917, 981, 1045, 1109, 1173, 1199, 1237, 1301, 1407, 1429, 1493, 1557, 1621, 1685, 1711, 1749, 1813, 1877, 1941, 2005, 2069, 2133, 2197, 2223, 2261
OFFSET
1,1
MATHEMATICA
Flatten[Position[Partition[Table[If[MemberQ[Partition[IntegerDigits[ n, 8], 2, 1], {2, 5}], 1, 0], {n, 2300}], 2, 1], {1, 0}]] (* Harvey P. Dale, Mar 04 2015 *)
CROSSREFS
Sequence in context: A143244 A041856 A044208 * A374527 A116972 A221475
KEYWORD
nonn,base
STATUS
approved