A084011 Digit reversal of 11*n, divided by 11.
1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 11, 21, 31, 41, 51, 61, 71, 81, 82, 2, 12, 22, 32, 42, 52, 62, 72, 73, 83, 3, 13, 23, 33, 43, 53, 63, 64, 74, 84, 4, 14, 24, 34, 44, 54, 55, 65, 75, 85, 5, 15, 25, 35, 45, 46, 56, 66, 76, 86, 6, 16, 26, 36, 37, 47, 57, 67, 77, 87, 7, 17, 27, 28, 38, 48, 58
Offset: 1
Examples
For n = 13, A004086(13*11)/11 = 341/11 = 31. So, a(13) = 31. - _Indranil Ghosh_, Jan 10 2017
Links
- Indranil Ghosh, Table of n, a(n) for n = 1..9999
Programs
-
Mathematica
a[n_] := Module[{aux = IntegerDigits[11*n]},Sum[aux[[i]]*10^(i - 1), {i, 1, Length[aux]}]/11]; Table[a[n], {n, 100}] (* José María Grau Ribas, Feb 16 2010 *)
-
Python
def A084011(n): return int(str(11*n)[::-1])/11 # Indranil Ghosh, Jan 10 2017
Formula
a(n) = A004086(11*n)/11. - Indranil Ghosh, Jan 10 2017