login
A044157
Numbers n such that string 2,5 occurs in the base 7 representation of n but not of n-1.
0
19, 68, 117, 133, 166, 215, 264, 313, 362, 411, 460, 476, 509, 558, 607, 656, 705, 754, 803, 819, 852, 901, 931, 999, 1048, 1097, 1146, 1162, 1195, 1244, 1293, 1342, 1391, 1440, 1489, 1505, 1538, 1587, 1636, 1685, 1734, 1783
OFFSET
1,1
MATHEMATICA
Flatten[Position[Partition[Table[If[MemberQ[Partition[IntegerDigits[ n, 7], 2, 1], {2, 5}], 1, 0], {n, 2000}], 2, 1], {0, 1}]]+1 (* Harvey P. Dale, Mar 04 2015 *)
CROSSREFS
Sequence in context: A337197 A357365 A228670 * A044538 A297226 A300463
KEYWORD
nonn,base
STATUS
approved