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 A227742 #8 Jul 31 2013 14:42:53 %S A227742 1,4,8,12,16,23,28,32,36,43,51,59,64,71,76,80,84,91,99,107,115,126, %T A227742 135,143,148,155,163,171,176,183,188,192,196,203,211,219,227,238,247, %U A227742 255,263,274,286,298,307,318,327,335,340,347,355,363,371,382,391,399,404 %N A227742 Fixed points of permutation A227741. %H A227742 Antti Karttunen, <a href="/A227742/b227742.txt">Table of n, a(n) for n = 1..1000</a> %F A227742 a(n) = A173318(2*(n-1)) + (1/2)*(1 + A005811((2n)-1)). %o A227742 (Scheme) (define (A227742 n) (+ (A173318 (* 2 (- n 1))) (/ (+ 1 (A005811 (- (* 2 n) 1))) 2))) %K A227742 nonn %O A227742 1,2 %A A227742 _Antti Karttunen_, Jul 25 2013