Periodic functions with a multiplication theorem