by chance:
occasionally,incidentally,accidentally
occasionally:
on a few occasions <occasionally she'll walk instead of drive>
incidentally:
1) by chance <in this discussion grave questions were brought up incidentally>
2) by way of interjection or digression <another leading industry, incidentally, has quadrupled
its business in four years>
accidentally :
arising from extrinsic causes, accidental, fortuitous, casual, contingent mean not amenable to planning or prediction.