login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A044150
Numbers n such that string 1,5 occurs in the base 7 representation of n but not of n-1.
0
12, 61, 84, 110, 159, 208, 257, 306, 355, 404, 427, 453, 502, 551, 588, 649, 698, 747, 770, 796, 845, 894, 943, 992, 1041, 1090, 1113, 1139, 1188, 1237, 1286, 1335, 1384, 1433, 1456, 1482, 1531, 1580, 1629, 1678, 1727, 1776
OFFSET
1,1
MATHEMATICA
Flatten[Position[Partition[Table[If[MemberQ[Partition[IntegerDigits[n, 7], 2, 1], {1, 5}], 1, 0], {n, 2000}], 2, 1], {0, 1}]]+1 (* Harvey P. Dale, Jan 16 2015 *)
CROSSREFS
Sequence in context: A076504 A232700 A354882 * A044531 A304205 A240002
KEYWORD
nonn,base
STATUS
approved