|
Search: id:A083822
|
|
|
| A083822 |
|
a(n) = digit reversal of 3*n divided by 3. |
|
+0 4
|
|
| 1, 2, 3, 7, 17, 27, 4, 14, 24, 1, 11, 21, 31, 8, 18, 28, 5, 15, 25, 2, 12, 22, 32, 9, 19, 29, 6, 16, 26, 3, 13, 23, 33, 67, 167, 267, 37, 137, 237, 7, 107, 207, 307, 77, 177, 277, 47, 147, 247, 17, 117, 217, 317, 87, 187, 287, 57, 157, 257, 27, 127, 227, 327, 97, 197, 297, 34
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
If n is a multiple of 10, then a(n) = a(n/10); if n is not a multiple of 10, then a(a(n)) = n.
|
|
EXAMPLE
|
a(25) = reverse(3*25)/3 = reverse(75)/3 = 57/3 = 19.
|
|
PROGRAM
|
(PARI) {for(n=1, 70, k=3*n; rev=0; while(k>0, d=divrem(k, 10); k=d[1]; rev=10*rev+d[2]); print1(rev/3, ", "))}
|
|
CROSSREFS
|
Cf. A083823, A083824, A083825.
Adjacent sequences: A083819 A083820 A083821 this_sequence A083823 A083824 A083825
Sequence in context: A019335 A113425 A110480 this_sequence A030086 A078721 A077007
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
Amarnath Murthy and Meenakshi Srikanth (amarnath_murthy(AT)yahoo.com), May 08 2003
|
|
EXTENSIONS
|
Edited, corrected and extended by Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), May 11 2003
|
|
|
Search completed in 0.002 seconds
|