I wish that worked for me, I don't solve much while on a bike, possibly because my attention goes to traffic. Walking works much better, I can zone out and think about stuff. Biking does make me feel good afterwards though so I would say the net effect on cognition is still positive.