login
A071589
Numbers n such that Reversal(n) > n.
4
12, 13, 14, 15, 16, 17, 18, 19, 23, 24, 25, 26, 27, 28, 29, 34, 35, 36, 37, 38, 39, 45, 46, 47, 48, 49, 56, 57, 58, 59, 67, 68, 69, 78, 79, 89, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114, 115, 116, 117, 118, 119, 122, 123, 124, 125, 126, 127, 128, 129
OFFSET
1,1
MATHEMATICA
Select[Range[200], # < FromDigits[Reverse[IntegerDigits[#]]] &] (* T. D. Noe, Mar 14 2012 *)
PROG
(PARI) for(i=2, 300, n=(i); s=ceil(log(n)/log(10)); if((sum(i=0, s, 10^(s-i-1)*(floor(n/10^i*1.)-10*floor(n/10^(i+1)*1.))))>i, print1((i), ", ")))
CROSSREFS
Cf. A004086 (digit reversal), A071590 (reversal < n), A002113 (reversal = n).
Cf. A161601 (binary reversal > n).
Sequence in context: A162792 A376297 A297272 * A296713 A297146 A267761
KEYWORD
base,easy,nonn
AUTHOR
Benoit Cloitre, Jun 01 2002
STATUS
approved