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

A044114
Numbers n such that string 2,0 occurs in the base 6 representation of n but not of n-1.
0
12, 48, 72, 84, 120, 156, 192, 228, 264, 288, 300, 336, 372, 408, 432, 480, 504, 516, 552, 588, 624, 660, 696, 720, 732, 768, 804, 840, 876, 912, 936, 948, 984, 1020, 1056, 1092, 1128, 1152, 1164, 1200, 1236, 1272, 1308, 1344
OFFSET
1,1
MATHEMATICA
Select[Range[1500], MemberQ[Partition[IntegerDigits[#, 6], 2, 1], {2, 0}] && !MemberQ[Partition[IntegerDigits[#-1, 6], 2, 1], {2, 0}]&] (* Harvey P. Dale, Nov 09 2011 *)
CROSSREFS
Sequence in context: A181925 A118903 A324747 * A323008 A371599 A379716
KEYWORD
nonn,base
STATUS
approved