The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A071590 Numbers k such that reversal(k) < k. 9
10, 20, 21, 30, 31, 32, 40, 41, 42, 43, 50, 51, 52, 53, 54, 60, 61, 62, 63, 64, 65, 70, 71, 72, 73, 74, 75, 76, 80, 81, 82, 83, 84, 85, 86, 87, 90, 91, 92, 93, 94, 95, 96, 97, 98, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 201, 210, 211, 220, 221, 230, 231 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
David A. Corneth, Table of n, a(n) for n = 1..5400 (first 1000 terms from T. D. Noe)
MATHEMATICA
Select[Range[300], # > FromDigits[Reverse[IntegerDigits[#]]] &] (* T. D. Noe, Mar 14 2012 *)
Select[Range[300], IntegerReverse[#]<#&] (* Harvey P. Dale, Jan 16 2022 *)
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), ", ")))
(PARI) is(n) = {fromdigits(Vecrev(digits(n)))<n} \\ David A. Corneth, Apr 07 2021
(Python)
def ok(n): return int(str(n)[::-1]) < n
print([k for k in range(232) if ok(k)]) # Michael S. Branicky, Oct 20 2021
CROSSREFS
Cf. A004086 (digit reversal), A071589 (reversal(k) > k), A002113 (reversal(k) = k).
Cf. A161602 (binary reversal(k) < k).
Sequence in context: A132782 A267759 A297270 * A210589 A296714 A297147
KEYWORD
nonn,easy,base
AUTHOR
Benoit Cloitre, Jun 01 2002
EXTENSIONS
Definition corrected by Harvey P. Dale, Jan 16 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 25 17:59 EDT 2024. Contains 372804 sequences. (Running on oeis4.)