

A349294


Numbers n such that there exists a permutation p of {1,2,...,n} with p(k) dividing p(k+1) + p(k+2) for all k in {1,2,...,n2}.


1



1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 34, 37, 38, 51
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


COMMENTS

Numbers n such that A349288(n) > 0.


LINKS

Table of n, a(n) for n=1..33.
Falcao, Problem of the day13, 2021. (in Russian)


EXAMPLE

n=9 belongs to this sequence since permutation p = (1, 3, 8, 7, 9, 5, 4, 6, 2) satisfies the condition.


CROSSREFS

Cf. A349288.
Sequence in context: A004438 A109425 A226537 * A153679 A273887 A194906
Adjacent sequences: A349291 A349292 A349293 * A349295 A349296 A349297


KEYWORD

nonn,hard,more


AUTHOR

Max Alekseyev, Nov 13 2021


STATUS

approved



