a little girl is numbering her collection of butterflies by placing single - digit stickers under each specimen . if the girl has 330 butterflies , how many stickers does she need ? ( the numbers are consecutive and the number of the first butterfly is 1 ) .
for the first 9 butterflies we need 9 stickers . for the next 90 we need 2 stickers each or 180 stickers . for the next 900 butterflies we need 3 stickers each . the first 99 butterflies correspond to 189 stickers . subtract 99 from the total number of butterflies ( 330 ) . this leaves 231 butterflies that use 3 stickers each . so , multiply 231 by 3 to get 693 . add 693 to 189 stickers to get 882 stickers . answer : a
add(multiply(add(subtract(330, const_100), const_1), const_3), add(multiply(const_3, const_3), multiply(multiply(multiply(const_3, const_3), const_10), const_2)))