login

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

A044401
Numbers n such that string 6,9 occurs in the base 10 representation of n but not of n-1.
0
69, 169, 269, 369, 469, 569, 669, 690, 769, 869, 969, 1069, 1169, 1269, 1369, 1469, 1569, 1669, 1690, 1769, 1869, 1969, 2069, 2169, 2269, 2369, 2469, 2569, 2669, 2690, 2769, 2869, 2969, 3069, 3169, 3269, 3369, 3469, 3569
OFFSET
1,1
MATHEMATICA
Select[Range[4000], MemberQ[Partition[IntegerDigits[#], 2, 1], {6, 9}] && !MemberQ[Partition[IntegerDigits[#-1], 2, 1], {6, 9}]&] (* Harvey P. Dale, Jul 20 2011 *)
CROSSREFS
Sequence in context: A118215 A033672 A020198 * A044782 A020296 A259637
KEYWORD
nonn,base
STATUS
approved