[go: up one dir, main page]

login
A044654
Numbers n such that string 2,4 occurs in the base 9 representation of n but not of n+1.
0
22, 103, 184, 206, 265, 346, 427, 508, 589, 670, 751, 832, 913, 935, 994, 1075, 1156, 1237, 1318, 1399, 1480, 1561, 1642, 1664, 1723, 1862, 1885, 1966, 2047, 2128, 2209, 2290, 2371, 2393, 2452, 2533, 2614, 2695, 2776, 2857
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {2, 4}]>0, 1, 0], {n, 3000}], {1, 0}][[All, 1]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Apr 14 2019 *)
CROSSREFS
Sequence in context: A262329 A264852 A044273 * A156795 A095265 A060382
KEYWORD
nonn,base
STATUS
approved