|
|
A044709
|
|
Numbers n such that string 8,5 occurs in the base 9 representation of n but not of n+1.
|
|
2
|
|
|
77, 158, 239, 320, 401, 482, 563, 644, 701, 725, 806, 887, 968, 1049, 1130, 1211, 1292, 1373, 1430, 1454, 1535, 1616, 1697, 1778, 1859, 1940, 2021, 2102, 2159, 2183, 2264, 2345, 2426, 2507, 2588, 2669, 2750, 2831, 2888, 2912, 2993, 3074, 3155, 3236, 3317
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MAPLE
|
q:= n-> searchtext("58", cat("", convert(n, base, 9)[]))>0:
a:= proc(n) option remember; local k; for k from 1+
`if`(n=1, 0, a(n-1)) while not q(k) or q(k+1) do od; k
end:
|
|
MATHEMATICA
|
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {8, 5}]>0, 1, 0], {n, 3500}], {1, 0}][[All, 1]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, May 19 2021 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|