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!)
A343888 Smallest positive integer such that the decimal representations of a(n) and of a(n)+9n (both without leading zeros) are permutations of each other. 2
12, 13, 14, 15, 16, 17, 18, 19, 109, 120, 102, 102, 124, 125, 126, 127, 128, 129, 130, 130, 123, 103, 103, 135, 136, 137, 138, 139, 140, 140, 134, 124, 104, 104, 146, 147, 148, 149, 150, 150, 145, 135, 125, 105, 105, 157, 158, 159, 160, 160, 156, 146, 136, 126, 106, 106, 168, 169, 170, 170 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
A concatenation of 10 and n provides the proof of existence and also an upper bound for a(n).
The bound is exact for n = 9, 90, 900, ...
LINKS
EXAMPLE
102 + 9*11 = 201 which is a permutation of digits of 102, and no smaller number has this feature, hence a(11)=102.
PROG
(PARI) a(n) = { for (v=1, oo, if (vecsort(digits(v))==vecsort(digits(v+9*n)), return (v))) } \\ Rémy Sigrist, May 03 2021
CROSSREFS
Sequence in context: A267761 A324322 A083826 * A331214 A364733 A270041
KEYWORD
nonn,look,base
AUTHOR
Ivan Neretin, May 02 2021
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 April 24 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)