Skip to main content
1 of 2
A Simmons
  • 4.6k
  • 1
  • 13
  • 21

#Mathematica, 67 Bytes#

MatrixForm@NestList[Mod[Total/@Partition[#,2,1],10]&,#,Length@#-1]&

Example:enter image description here

A Simmons
  • 4.6k
  • 1
  • 13
  • 21