|
|
A044655
|
|
Numbers n such that string 2,5 occurs in the base 9 representation of n but not of n+1.
|
|
0
|
|
|
23, 104, 185, 215, 266, 347, 428, 509, 590, 671, 752, 833, 914, 944, 995, 1076, 1157, 1238, 1319, 1400, 1481, 1562, 1643, 1673, 1724, 1805, 1943, 1967, 2048, 2129, 2210, 2291, 2372, 2402, 2453, 2534, 2615, 2696, 2777, 2858
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
Table of n, a(n) for n=1..40.
|
|
MATHEMATICA
|
Select[Range[3000], MemberQ[Partition[IntegerDigits[#, 9], 2, 1], {2, 5}] && !MemberQ[Partition[IntegerDigits[#+1, 9], 2, 1], {2, 5}]&] (* Harvey P. Dale, Nov 03 2013 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {2, 5}]>0, 1, 0], {n, 3000}], {1, 0}][[All, 1]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Mar 14 2021 *)
|
|
CROSSREFS
|
Sequence in context: A138715 A096324 A044274 * A231439 A180517 A142244
Adjacent sequences: A044652 A044653 A044654 * A044656 A044657 A044658
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
Clark Kimberling
|
|
STATUS
|
approved
|
|
|
|