|
|
A043256
|
|
Numbers k such that 6 and 8 occur juxtaposed in the base-10 representation of k but not of k-1.
|
|
0
|
|
|
68, 86, 168, 186, 268, 286, 368, 386, 468, 486, 568, 586, 668, 680, 768, 786, 860, 886, 968, 986, 1068, 1086, 1168, 1186, 1268, 1286, 1368, 1386, 1468, 1486, 1568, 1586, 1668, 1680, 1768, 1786, 1860, 1886, 1968, 1986, 2068
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {6, 8}]>0 || SequenceCount[ IntegerDigits[n], {8, 6}]>0, 1, 0], {n, 2100}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jan 03 2019 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|