beastly squares

James Buddenhagen jbuddenh at earthlink.net
Sun Feb 27 17:01:31 CET 2005


Let a(n) be the number of n-digit beastly squares, where 
a square is beastly if its decimal representation contains 
the string "666" but not the string "6666".  

The sequence starts:

0, 0, 0, 0, 0, 0, 3, 21, 78, 302, 1139, 4156

Jim Buddenhagen :-) 





More information about the SeqFan mailing list