If decimal expansion of n-th prime is x1 x2 ... xk, sort the xi into nonincreasing order, y1 y2 ... yk; then a(n) = |y1-y2-y3...-yk|.
A041000
If decimal expansion of n-th prime is x1 x2 ... xk, sort the xi into nonincreasing order, y1 y2 ... yk; then a(n) = |y1-y2-y3...-yk|.
Terms
- a(0) =2a(1) =3a(2) =5a(3) =7a(4) =0a(5) =2a(6) =6a(7) =8a(8) =1a(9) =7a(10) =2a(11) =4a(12) =3a(13) =1a(14) =3a(15) =2a(16) =4a(17) =5a(18) =1a(19) =6a(20) =4a(21) =2a(22) =5a(23) =1a(24) =2a(25) =0a(26) =2a(27) =6a(28) =8a(29) =1
External references
- oeis: A041000