|
|
A044197
|
|
Numbers n such that string 1,2 occurs in the base 8 representation of n but not of n-1.
|
|
0
|
|
|
10, 74, 80, 138, 202, 266, 330, 394, 458, 522, 586, 592, 640, 714, 778, 842, 906, 970, 1034, 1098, 1104, 1162, 1226, 1290, 1354, 1418, 1482, 1546, 1610, 1616, 1674, 1738, 1802, 1866, 1930, 1994, 2058, 2122, 2128, 2186, 2250
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 8], {1, 2}]>0, 1, 0], {n, 2500}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Dec 16 2019 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|