|
|
A044330
|
|
Numbers n such that string 8,7 occurs in the base 9 representation of n but not of n-1.
|
|
1
|
|
|
79, 160, 241, 322, 403, 484, 565, 646, 711, 727, 808, 889, 970, 1051, 1132, 1213, 1294, 1375, 1440, 1456, 1537, 1618, 1699, 1780, 1861, 1942, 2023, 2104, 2169, 2185, 2266, 2347, 2428, 2509, 2590, 2671, 2752, 2833, 2898
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
Transpose[SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {8, 7}]>0, 1, 0], {n, 3000}], {0, 1}]][[2]] (* The program uses the SequencePosition and SequenceCount functions from Mathematica version 10 *) (* Harvey P. Dale, Jun 22 2016 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|