Can somebody please point the error in this code ? Thanks !
I have used the recursion q(n) = 2^n - \sum_{ m | n, m < n} q(m), where q is the number of aperiodic strings of length n.
https://pastebin.com/raw/EXRMmLg0
Thanks !
Can somebody please point the error in this code ? Thanks !
I have used the recursion q(n) = 2^n - \sum_{ m | n, m < n} q(m), where q is the number of aperiodic strings of length n.
https://pastebin.com/raw/EXRMmLg0
Thanks !