Smallest Bell number (A000110) divisible by n, if such a number exists, otherwise 0.

A066562

Smallest Bell number (A000110) divisible by n, if such a number exists, otherwise 0.

Terms

    a(0) =1a(1) =2a(2) =15a(3) =52a(4) =5a(5) =4140a(6) =203a(7) =0a(8) =4140a(9) =4140a(11) =4140a(12) =52a(14) =15a(15) =0a(17) =4140a(18) =21147a(19) =4140a(20) =21147a(22) =4140a(23) =0a(24) =115975a(25) =52a(26) =82864869804a(28) =203a(29) =4140

External references