login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A043994
Numbers k such that 6 and 8 occur juxtaposed in the base-9 representation of k but not of k+1.
0
62, 78, 143, 159, 224, 240, 305, 321, 386, 402, 467, 483, 548, 566, 629, 645, 710, 726, 791, 807, 872, 888, 953, 969, 1034, 1050, 1115, 1131, 1196, 1212, 1277, 1295, 1358, 1374, 1439, 1455, 1520, 1536, 1601, 1617, 1682, 1698
OFFSET
1,1
MATHEMATICA
Select[Range[2000], MemberQ[Sort/@Partition[IntegerDigits[#, 9], 2, 1], {6, 8}] && !MemberQ[Sort/@Partition[IntegerDigits[#+1, 9], 2, 1], {6, 8}]&] (* Harvey P. Dale, Dec 07 2011 *)
CROSSREFS
Cf. A007095.
Sequence in context: A342258 A039391 A043214 * A039479 A118156 A214252
KEYWORD
nonn,base
STATUS
approved