What is generating function of these sequences:(adsbygoogle = window.adsbygoogle || []).push({});

0,1,0,1...or

0,1,1,0,1,1,0...or

0,1,1,1,0,1,1,1,0...

where m is period, in first example m=2; in the second m=3, and so on.

Generating function must be general, so I can just put m.

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Generating function

**Physics Forums | Science Articles, Homework Help, Discussion**