OFFSET
1,2
COMMENTS
n such that there exists a permutation p_1, ..., p_n of 1, ..., n such that i + p_i is a power of 14 for every i.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = 13*A033050(n).
a(2n) = 14*a(n), a(2n+1) = a(2n)+13.
MATHEMATICA
FromDigits[#, 14]&/@Tuples[{0, 13}, 6] (* Harvey P. Dale, Sep 22 2011 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Ray Chandler, Aug 03 2004
STATUS
approved