|
|
A043957
|
|
Numbers k such that 5 and 6 occur juxtaposed in the base-8 representation of k but not of k+1.
|
|
0
|
|
|
46, 53, 110, 117, 174, 181, 238, 245, 302, 309, 366, 375, 431, 437, 494, 501, 558, 565, 622, 629, 686, 693, 750, 757, 814, 821, 878, 887, 943, 949, 1006, 1013, 1070, 1077, 1134, 1141, 1198, 1205, 1262, 1269, 1326, 1333, 1390
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 8], {5, 6}]>0 || SequenceCount[IntegerDigits[n, 8], {6, 5}]>0, 1, 0], {n, 1500}], {1, 0}][[All, 1]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, May 07 2019 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|