cp's OEIS Frontend

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.

A083059 a(n) is the number of natural numbers k such that A078496(k)=n.

This page as a plain text file.
%I A083059 #6 Nov 06 2019 17:50:13
%S A083059 1,0,2,0,0,0,3,0,2,0,0,0,3,0,3,0,0,0,3,0,0,0,0,0,3,0,5,0,0,0,0,0,3,0,
%T A083059 0,0,5,0,4,0,0,0,3,0,0,0,0,0,4,0,0,0,0,0,3,0,6,0,0,0,0,0,4,0,0,0,5,0,
%U A083059 4,0,0,0,0,0,4,0,0,0,5,0,0,0,0,0,4,0
%N A083059 a(n) is the number of natural numbers k such that A078496(k)=n.
%F A083059 a(n) = #{k: k>3 integer; A078496(k)=n}.
%e A083059 a(19)=3 since there are only k=13,16,18 for which A078496(k)=19
%o A083059 (PARI)
%o A083059 b(n)={forprime(p=nextprime(n+1), 2*n, if(isprime(2*n-p), return(p))); 0}
%o A083059 a(n)={if(isprime(n), sum(i=n\2+1, n-1, b(i)==n), 0)} \\ _Andrew Howroyd_, Nov 06 2019
%Y A083059 Cf. A078496.
%K A083059 easy,nonn
%O A083059 5,3
%A A083059 Serhat Sevki Dincer (sevki(AT)ug.bilkent.edu.tr), Apr 18 2003
%E A083059 Terms a(24) and beyond from _Andrew Howroyd_, Nov 06 2019