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 A277896 #9 Nov 16 2016 11:07:10 %S A277896 0,0,4,0,9,8,25,0,12,18,49,16,121,50,20,0,169,24,289,27,28,98,361,32, %T A277896 45,242,36,75,529,40,841,0,44,338,63,48,961,578,52,54,1369,56,1681, %U A277896 147,60,722,1849,64,175,90,68,363,2209,72,99,150,76,1058,2809,80,3481,1682,84,0,117,88,3721,507,92,126,4489,96,5041,1922,100,867,275 %N A277896 a(n) = the least k > n for which A048675(k) = A048675(n), 0 if no such number exists (when n is a power of 2). %C A277896 Apart from zeros, a permutation of A013929. %H A277896 Antti Karttunen, <a href="/A277896/b277896.txt">Table of n, a(n) for n = 1..192</a> %F A277896 a(A000079(n)) = 0. %F A277896 For all n, except powers of two, a(n) >= A277893(n). %o A277896 (Scheme) (define (A277896 n) (if (= 1 (A209229 n)) 0 (let ((v (A048675 n))) (let loop ((k (+ 1 n))) (if (= (A048675 k) v) k (loop (+ 1 k))))))) %Y A277896 Cf. A000079, A013929, A048675, A209229, A277886, A277893, A277905. %Y A277896 Numbers not in this sequence: A005117 (A019565). %K A277896 nonn %O A277896 1,3 %A A277896 _Antti Karttunen_, Nov 15 2016