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 A286387 #14 May 19 2023 01:46:23 %S A286387 0,1,1,4,1,7,4,9,1,14,7,13,4,29,9,16,1,23,14,43,7,36,13,29,4,43,29,64, %T A286387 9,67,16,25,1,34,23,89,14,115,43,46,7,85,36,79,13,46,29,79,4,97,43, %U A286387 142,29,89,64,91,9,136,67,157,16,121,25,36,1,47,34,151,23,236,89,157,14,211,115,104,43,225,46,109,7,162,85,235,36,139,79,174,13,101,46 %N A286387 a(n) = A002487(n^2). %C A286387 Conjecture: For all i >= 0, j >= 0: A103391(1+i) = A103391(1+j) => a(i) = a(j). This would be an implication of observation made at A286377, which has been checked up to n=2048. See also A286378. %H A286387 Antti Karttunen, <a href="/A286387/b286387.txt">Table of n, a(n) for n = 0..8192</a> %H A286387 <a href="/index/St#Stern">Index entries for sequences related to Stern's sequences</a> %F A286387 a(n) = A002487(A000290(n)) = A002487(n^2). %o A286387 (Scheme) (define (A286387 n) (A002487 (* n n))) %o A286387 (Python) %o A286387 from functools import reduce %o A286387 def A286387(n): return sum(reduce(lambda x,y:(x[0],x[0]+x[1]) if int(y) else (x[0]+x[1],x[1]),bin(n**2)[-1:2:-1],(1,0))) if n else 0 # _Chai Wah Wu_, May 18 2023 %Y A286387 Cf. A000290, A002487, A103391, A286377, A286378. %K A286387 nonn %O A286387 0,4 %A A286387 _Antti Karttunen_, May 09 2017