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”).

A044117
Numbers n such that string 2,3 occurs in the base 6 representation of n but not of n-1.
0
15, 51, 87, 90, 123, 159, 195, 231, 267, 303, 306, 339, 375, 411, 447, 483, 519, 522, 540, 591, 627, 663, 699, 735, 738, 771, 807, 843, 879, 915, 951, 954, 987, 1023, 1059, 1095, 1131, 1167, 1170, 1203, 1239, 1275, 1311, 1347
OFFSET
1,1
MATHEMATICA
Select[Range[1500], MemberQ[Partition[IntegerDigits[#, 6], 2, 1], {2, 3}] && !MemberQ[Partition[IntegerDigits[#-1, 6], 2, 1], {2, 3}]&] (* Harvey P. Dale, Mar 16 2012 *)
CROSSREFS
Sequence in context: A075929 A337295 A334530 * A044498 A138082 A002602
KEYWORD
nonn,base
STATUS
approved