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 A103948 #12 Sep 08 2015 17:33:33 %S A103948 1,27,12,19,12,21,10,21,12,19,12,21,10,21,12,19,12,21,10,21,12,19,12, %T A103948 21,10,21,12,19,12,21,10,21,12,19,12,21,10,21,12,19,12,21,10,21,12,19, %U A103948 12,21,10,21,12,19,12,21,10,21,12,19,12,21,10,21,12,19,12,21,10,21,12,19 %N A103948 a(n) is the number of distinct n-th powers of functions {1, 2, 3} -> {1, 2, 3}. %H A103948 <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (-1, 0, 1, 1). %F A103948 For n > 1, a(n) = a(n+6). %F A103948 G.f.: (6*x^5-3*x^4-30*x^3-39*x^2-28*x-1) / ((x-1)*(x+1)*(x^2+x+1)). - _Colin Barker_, Aug 07 2013 %t A103948 Join[{1, 27},LinearRecurrence[{-1, 0, 1, 1},{12, 19, 12, 21},68]] (* _Ray Chandler_, Sep 08 2015 *) %Y A103948 Cf. A102687, A102709, A103947, A103949, A103950. %Y A103948 Row n=3 of A247026. %K A103948 easy,nonn %O A103948 0,2 %A A103948 _David Wasserman_, Feb 21 2005