OFFSET
0,2
COMMENTS
6th cyclotomic polynomial evaluated at powers of 2.
Referred to as Kasami-Welch numbers by Aubry et al. (see links). - Jonathan Vos Post, Sep 15 2009
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..170
Yves Aubry, Gary Mcguire, and Francois Rodier, A few more functions that are not APN infinitely often, arXiv:0909.2304 [math.AG], 2009.
Quynh Nguyen, Jean Pedersen, and Hien T. Vu, New Integer Sequences Arising From 3-Period Folding Numbers, Vol. 19 (2016), Article 16.3.1.
Index entries for linear recurrences with constant coefficients, signature (7,-14,8).
FORMULA
From Mohammad K. Azarian, Jan 15 2009: (Start)
G.f.: 1/(1-4*x) - 1/(1-2*x) + 1/(1-x).
E.g.f.: e^(4*x) - e^(2*x) + e^x. (End)
MAPLE
with(numtheory, cyclotomic):seq(cyclotomic(6, 2**i), i=0..24);
MATHEMATICA
Array[4^# - 2^# + 1 &, 30, 0] (* or *)
Cyclotomic[6, 2^Range[0, 29]] (* Paolo Xausa, Apr 02 2024 *)
LinearRecurrence[{7, -14, 8}, {1, 3, 13}, 30] (* Harvey P. Dale, Aug 24 2024 *)
PROG
(Magma) [4^n - 2^n + 1: n in [0..40]]; // Vincenzo Librandi, Apr 25 2011
(PARI) a(n)=4^n-2^n+1 \\ Charles R Greathouse IV, Jul 02 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved