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 A160794 #8 Feb 21 2019 13:50:39 %S A160794 0,1,2,5,7,13,17,28,35,53,65,94,114,156,189,248,302,380,468,569,712, %T A160794 842,1074,1235,1611,1809,2418,2657,3643,3925,5521,5850,8433,8815, %U A160794 12995,13436,20200,20702,31647,32216,49926,50566,79222,79935,126302,127094,202118 %N A160794 Vertex number of a rectangular spiral related to Fibonacci numbers and prime numbers. The distances between nearest edges of the spiral that are parallel to the initial edge are the Fibonacci numbers, while the distances between nearest edges perpendicular to the initial edge are the prime numbers. %H A160794 Nathaniel Johnston, <a href="/A160794/b160794.txt">Table of n, a(n) for n = 0..1000</a> %F A160794 a(2n) = a(2n-1) + Sum_{j=1..n} Fibonacci(j); a(2n+1) = a(2n) + 1 + Sum_{j=1..n} prime(j) for n >= 1. - _Nathaniel Johnston_, Jun 16 2011 %p A160794 A160794 := proc(n) option remember: if(n<=1)then return n: fi: if(n mod 2 = 0)then return procname(n-1)+add(combinat[fibonacci](j), j=1..n/2): fi: return procname(n-1)+add(ithprime(j), j=1..floor(n/2))+1: end: seq(A160794(n), n=0..46); # _Nathaniel Johnston_, Jun 16 2011 %Y A160794 Cf. A000040, A000045, A160790, A160792. %K A160794 easy,nonn %O A160794 0,3 %A A160794 _Omar E. Pol_, May 29 2009 %E A160794 Terms after a(12) and edited by _Nathaniel Johnston_, Jun 16 2011