|
|
A043196
|
|
Numbers k such that 2 and 4 occur juxtaposed in the base-9 representation of k but not of k-1.
|
|
0
|
|
|
22, 38, 103, 119, 184, 198, 265, 281, 342, 362, 427, 443, 508, 524, 589, 605, 670, 686, 751, 767, 832, 848, 913, 927, 994, 1010, 1071, 1091, 1156, 1172, 1237, 1253, 1318, 1334, 1399, 1415, 1480, 1496, 1561, 1577, 1642, 1656
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
Transpose[SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {2, 4}]>0||SequenceCount[IntegerDigits[n, 9], {4, 2}]>0, 1, 0], {n, 2000}], {0, 1}]][[2]] (* The program uses the SequencePosition and SequenceCount functions from Mathematica version 10.1 *) (* Harvey P. Dale, Apr 08 2015 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|