reviewed
approved
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”).
reviewed
approved
proposed
reviewed
editing
proposed
Numbers n k such that 5 and 7 occur juxtaposed in the base -9 representation of n k but not of nk-1.
Cf. A007095.
approved
editing
editing
approved
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 *)
approved
editing
Clark Kimberling (ck6(AT)evansville.edu)
Numbers n such that 5 and 7 occur juxtaposed in the base 9 representation of n but not of n-1.
nonn,base,new
nonn,base,new
Clark Kimberling, (ck6(AT)evansville.edu)
5 and 7 occur juxtaposed in the base 9 representation of n, but not of n-1.
nonn,base,new
Clark Kimberling, ck6@cedar.(AT)evansville.edu