|
Search: id:A079827
|
|
|
| A079827 |
|
a(n) = floor[ {n + R(n)}/2], where R(n)= the digit reversal of n (A004086). |
|
+0 2
|
|
| 1, 2, 3, 4, 5, 6, 7, 8, 9, 5, 11, 16, 22, 27, 33, 38, 44, 49, 55, 11, 16, 22, 27, 33, 38, 44, 49, 55, 60, 16, 22, 27, 33, 38, 44, 49, 55, 60, 66, 22, 27, 33, 38, 44, 49, 55, 60, 66, 71, 27, 33, 38, 44, 49, 55, 60, 66, 71, 77, 33, 38, 44, 49, 55, 60, 66, 71, 77, 82, 38, 44, 49, 55
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
MAPLE
|
R:=proc(n) local nn, nnn: nn:=convert(n, base, 10): add(nn[nops(nn)+1-j]*10^(j-1), j=1..nops(nn)) end: a:=n->floor(n/2+R(n)/2): seq(a(n), n=1..85); # R is the Maple program that yields the digit reversal of n (Deutsch)
|
|
MATHEMATICA
|
Do[Print[Floor[(n + FromDigits[Reverse[IntegerDigits[n]]]) / 2]], {n, 1, 50}] (Propper)
|
|
CROSSREFS
|
Cf. A061229.
Sequence in context: A093030 A122425 A074044 this_sequence A028901 A081597 A028902
Adjacent sequences: A079824 A079825 A079826 this_sequence A079828 A079829 A079830
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Feb 11 2003
|
|
EXTENSIONS
|
36 more terms from Ryan Propper (rpropper(AT)stanford.edu), Jul 20 2005
More terms from Emeric Deutsch (deutsch(AT)duke.poly.edu), Aug 06 2005
|
|
|
Search completed in 0.002 seconds
|