Hi Kotaro, looks like we have another case of similar interest.
I wrote about solving this puzzle about a year ago:
"Solving MoMath's A-Puzzle-A-Day by DragonFjord"
https://community.wolfram.com/groups/-/m/t/3089870
Best wishes and have fun.
Brad-san,
I'm sorry I missed your amazing post! Your implementation is significantly faster than mine. I also found the same number of solutions for 366 days: 24405.
-- you have earned Featured Contributor Badge Your exceptional post has been selected for our editorial column Staff Picks http://wolfr.am/StaffPicks and Your Profile is now distinguished by a Featured Contributor Badge and is displayed on the Featured Contributor Board. Thank you!