[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A043211
Numbers k such that 5 and 7 occur juxtaposed in the base-9 representation of k but not of k-1.
0
52, 68, 133, 149, 214, 230, 295, 311, 376, 392, 457, 468, 538, 554, 612, 635, 700, 716, 781, 797, 862, 878, 943, 959, 1024, 1040, 1105, 1121, 1186, 1197, 1267, 1283, 1341, 1364, 1429, 1445, 1510, 1526, 1591, 1607, 1672, 1688
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {5, 7}]>0 || SequenceCount[IntegerDigits[n, 9], {7, 5}]>0, 1, 0], {n, 1700}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Nov 02 2017 *)
CROSSREFS
Cf. A007095.
Sequence in context: A124471 A107933 A039388 * A043991 A326235 A118148
KEYWORD
nonn,base
STATUS
approved