login
A044551
Numbers n such that string 4,4 occurs in the base 7 representation of n but not of n+1.
0
32, 81, 130, 179, 230, 277, 326, 375, 424, 473, 522, 573, 620, 669, 718, 767, 816, 865, 916, 963, 1012, 1061, 1110, 1159, 1208, 1259, 1306, 1355, 1404, 1453, 1502, 1551, 1616, 1649, 1698, 1747, 1796, 1845, 1894, 1945, 1992
OFFSET
1,1
MATHEMATICA
Transpose[SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 7], {4, 4}]>0, 1, 0], {n, 2000}], {1, 0}]][[1]] (* The program uses the SequencePosition and SequenceCount functions from Mathematica version 10 *) (* Harvey P. Dale, May 01 2015 *)
CROSSREFS
Sequence in context: A340701 A043410 A044170 * A256810 A256803 A229721
KEYWORD
nonn,base
STATUS
approved