How many melodies? #1

My toy piano keyboard has 7 distinct white notes: letters A-G in English alphabet. I'm going to create a melody by playing three random notes. I can repeat a note for two or three times (six examples are given below). How many different melodies I can play?

Examples:

C D E

A B G

C B C

G E E

A A F

D D D

×

Problem Loading...

Note Loading...

Set Loading...