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!)
A289469 Numbers k such that it is possible to form a palindrome by concatenating the first k positive integers in some order. 1
1, 19, 20, 21, 22, 39, 40, 41, 59, 60, 61, 79, 80, 81, 98, 99, 122, 201, 219, 220 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
For k=19 and k=20 there are 8! such palindromes.
There are no such palindromes for k = 101, 119, 121, 139, 141, 159, 161, 179, 181, 199. This is because it is impossible to have a pair matching "100".
It is unknown whether there exist palindromes that are a concatenation of the first k primes. The list of k for which such palindromes could exist is in S001070 (see Noe's link). It has been proven that k=36 and k=247 cannot exist.
For k=21, 11612160 admissible permutations produce 8069040 distinct palindromes. These counts are respectively equal to 20240640 and 13633200 for k=22. - Giovanni Resta, Sep 02 2017
LINKS
Tony D. Noe, S001070
Tony D. Noe, S001071
Carlos Rivera, Puzzle 891: The first N integers arranged to form a Palindrome, The Prime Puzzles and Problems Connection.
EXAMPLE
For k=19 one palindrome is 1.12.3.14.7.15.6.18.9.10.19.8.16.5.17.4.13.2.11 => 11231471561891019816517413211. This palindrome is the smallest such palindrome that is prime.
CROSSREFS
Cf. A291633.
Sequence in context: A103418 A004508 A018824 * A093680 A007640 A265201
KEYWORD
nonn,base,hard,more
AUTHOR
Dmitry Kamenetsky, Sep 02 2017
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 23 14:49 EDT 2024. Contains 371914 sequences. (Running on oeis4.)