(MAGMAMagma) [(n+1)^7+n^7: n in [0..30]]; // Vincenzo Librandi, Aug 27 2011
(MAGMAMagma) [(n+1)^7+n^7: n in [0..30]]; // Vincenzo Librandi, Aug 27 2011
proposed
approved
editing
proposed
Centered cube numbers: (n+1)^7 + n^7.
Never prime, as a(n) = (2n+1)*(n^6 + 3n^5 + 9n^4 + 13n^3 + 11n^2 + 5n + 1). Semiprimes in the sequence begin for n = 1, 2, 8, 9, 21, 30, 33, 53, 65, 81, 83. - _Jonathan Vos Post, _, Aug 26 2011
(MAGMA) [(n+1)^7+n^7: n in [0..30]]; // _Vincenzo Librandi, _, Aug 27 2011
approved
editing
editing
approved
<a href="/index/Rec#order_08">Index entries for linear recurrences with constant coefficients</a>, signature (8,-28,56,-70,56,-28,8,-1).
approved
editing
editing
approved
(PARI) a(n)=(n+1)^7+n^7 \\ Charles R Greathouse IV, Oct 07 2015
approved
editing
<a href="/index/Rec">Index to sequences with entries for linear recurrences with constant coefficients</a>, signature (8,-28,56,-70,56,-28,8,-1).
<a href="/index/Rea#recLCCRec">Index to sequences with linear recurrences with constant coefficients</a>, signature (8,-28,56,-70,56,-28,8,-1).