This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A213246 #40 Sep 08 2022 08:46:02 %S A213246 1,1,7,5,31,7,127,85,511,341,2047,455,8191,5461,32767,21845,131071, %T A213246 29127,524287,349525,2097151,1398101,8388607,1864135,33554431, %U A213246 22369621,134217727,89478485,536870911,119304647,2147483647,1431655765,8589934591,5726623061,34359738367,7635497415 %N A213246 Number of nonzero elements in GF(2^n) that are 9th powers. %H A213246 Vincenzo Librandi, <a href="/A213246/b213246.txt">Table of n, a(n) for n = 1..1000</a> %H A213246 <a href="/index/Rec#order_12">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,0,0,65,0,0,0,0,0,-64). %F A213246 a(n) = M / gcd( M, 9 ), where M=2^n-1. %F A213246 Conjectures from _Colin Barker_, Aug 23 2014: (Start) %F A213246 a(n) = 65*a(n-6)-64*a(n-12). %F A213246 G.f.: x*(2*x^2 -x +1)*(16*x^8 +16*x^7 +28*x^6 +16*x^5 +25*x^4 +8*x^3 +7*x^2 +2*x +1) / ((x -1)*(x +1)*(2*x -1)*(2*x +1)*(x^2 -x +1)*(x^2 +x +1)*(4*x^2 -2*x +1)*(4*x^2 +2*x +1)). (End) %F A213246 Conjectures verified by _Robert Israel_, Jun 27 2018. %p A213246 A213246:=n->(2^n-1)/gcd(2^n-1,9): seq(A213246(n), n=1..40); # _Wesley Ivan Hurt_, Aug 24 2014 %t A213246 Table[(2^n - 1)/GCD[2^n - 1, 9], {n, 100}] (* _Vincenzo Librandi_, Mar 15 2013 *) %o A213246 (Magma) [(2^n-1)/GCD(2^n-1, 9): n in [1..40]]; // _Vincenzo Librandi_, Mar 15 2013 %o A213246 (PARI) a(n)=(2^n-1)/gcd(2^n-1,9) \\ _Edward Jiang_, Sep 04 2014 %o A213246 (GAP) List([1..40],n->(2^n-1)/Gcd(2^n-1,9)); # _Muniru A Asiru_, Jun 27 2018 %Y A213246 Cf. A213243 (cubes), A213244 (5th powers), A213245 (7th powers), A213247 (11th powers), A213248 (13th powers). %K A213246 nonn,easy %O A213246 1,3 %A A213246 _Joerg Arndt_, Jun 07 2012