The elliptic flow, an id="mmlsi2" class="mathmlsrc">an class="formulatext stixSupport mathImg" data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0370269315009156&_mathId=si2.gif&_user=111111111&_pii=S0370269315009156&_rdoc=1&_issn=03702693&md5=af612936c94892de2098a0b323cdcab5" title="Click to view the MathML source">v2an>an class="mathContainer hidden">an class="mathCode">an>an>an>, of muons from heavy-flavour hadron decays at forward rapidity (an id="mmlsi29" class="mathmlsrc">an class="formulatext stixSupport mathImg" data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0370269315009156&_mathId=si29.gif&_user=111111111&_pii=S0370269315009156&_rdoc=1&_issn=03702693&md5=048e84b72baecda5d0c5816e647b7d4d" title="Click to view the MathML source">2.5<y<4an>an class="mathContainer hidden">an class="mathCode">an>an>an>) is measured in Pb–Pb collisions at an id="mmlsi1" class="mathmlsrc">an class="mathContainer hidden">an class="mathCode">an>an>an> with the ALICE detector at the LHC. The scalar product, two- and four-particle Q cumulants and Lee–Yang zeros methods are used. The dependence of the an id="mmlsi2" class="mathmlsrc">an class="formulatext stixSupport mathImg" data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0370269315009156&_mathId=si2.gif&_user=111111111&_pii=S0370269315009156&_rdoc=1&_issn=03702693&md5=af612936c94892de2098a0b323cdcab5" title="Click to view the MathML source">v2an>an class="mathContainer hidden">an class="mathCode">an>an>an> of muons from heavy-flavour hadron decays on the collision centrality, in the range 0–40%, and on transverse momentum, an id="mmlsi4" class="mathmlsrc">an class="formulatext stixSupport mathImg" data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0370269315009156&_mathId=si4.gif&_user=111111111&_pii=S0370269315009156&_rdoc=1&_issn=03702693&md5=ab56179a7d37d31ca4d53305b3fadf95" title="Click to view the MathML source">pTan>an class="mathContainer hidden">an class="mathCode">an>an>an>, is studied in the interval an id="mmlsi30" class="mathmlsrc">an class="formulatext stixSupport mathImg" data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0370269315009156&_mathId=si30.gif&_user=111111111&_pii=S0370269315009156&_rdoc=1&_issn=03702693&md5=cce0b681be6752b5db65f41f44926e99" title="Click to view the MathML source">3<pT<10 GeV/can>an class="mathContainer hidden">an class="mathCode">an>an>an>. A positive an id="mmlsi2" class="mathmlsrc">an class="formulatext stixSupport mathImg" data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0370269315009156&_mathId=si2.gif&_user=111111111&_pii=S0370269315009156&_rdoc=1&_issn=03702693&md5=af612936c94892de2098a0b323cdcab5" title="Click to view the MathML source">v2an>an class="mathContainer hidden">an class="mathCode">an>an>an> is observed with the scalar product and two-particle Q cumulants in semi-central collisions (10–20% and 20–40% centrality classes) for the an id="mmlsi4" class="mathmlsrc">an class="formulatext stixSupport mathImg" data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0370269315009156&_mathId=si4.gif&_user=111111111&_pii=S0370269315009156&_rdoc=1&_issn=03702693&md5=ab56179a7d37d31ca4d53305b3fadf95" title="Click to view the MathML source">pTan>an class="mathContainer hidden">an class="mathCode">an>an>an> interval from 3 to about an id="mmlsi6" class="mathmlsrc">an class="formulatext stixSupport mathImg" data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0370269315009156&_mathId=si6.gif&_user=111111111&_pii=S0370269315009156&_rdoc=1&_issn=03702693&md5=fd2ebd478896cb30c84948fcd44ee05f" title="Click to view the MathML source">5 GeV/can>an class="mathContainer hidden">an class="mathCode">an>an>an> with a significance larger than 3σ , based on the combination of statistical and systematic uncertainties. The an id="mmlsi2" class="mathmlsrc">an class="formulatext stixSupport mathImg" data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0370269315009156&_mathId=si2.gif&_user=111111111&_pii=S0370269315009156&_rdoc=1&_issn=03702693&md5=af612936c94892de2098a0b323cdcab5" title="Click to view the MathML source">v2an>an class="mathContainer hidden">an class="mathCode">an>an>an> magnitude tends to decrease towards more central collisions and with increasing an id="mmlsi4" class="mathmlsrc">an class="formulatext stixSupport mathImg" data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0370269315009156&_mathId=si4.gif&_user=111111111&_pii=S0370269315009156&_rdoc=1&_issn=03702693&md5=ab56179a7d37d31ca4d53305b3fadf95" title="Click to view the MathML source">pTan>an class="mathContainer hidden">an class="mathCode">an>an>an>. It becomes compatible with zero in the interval an id="mmlsi7" class="mathmlsrc">an class="formulatext stixSupport mathImg" data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0370269315009156&_mathId=si7.gif&_user=111111111&_pii=S0370269315009156&_rdoc=1&_issn=03702693&md5=16f93d450061906f5b7100f9724046f6" title="Click to view the MathML source">6<pT<10 GeV/can>an class="mathContainer hidden">an class="mathCode">an>an>an>. The results are compared to models describing the interaction of heavy quarks and open heavy-flavour hadrons with the high-density medium formed in high-energy heavy-ion collisions.