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.

A261888 Positive integers n such that there is no triple of primes (p, q, r) satisfying p+q^2+r^3=n.

This page as a plain text file.
%I A261888 #9 Jan 19 2019 04:15:43
%S A261888 1,2,3,4,5,6,7,8,9,10,11,12,13,16,18,21,26,27,32,37,45,51,61,66,82,
%T A261888 108,127,178,186,192,234,252,276,306,332,336,351,402,468,582,606,612,
%U A261888 622,642,666,702,712,738,762,798,816,822,864,882,906,930,996,1018,1032
%N A261888 Positive integers n such that there is no triple of primes (p, q, r) satisfying p+q^2+r^3=n.
%e A261888 For p=2, p+p^2+p^3 = 14 = A181149(1), so 14 is the first value not to be in the sequence.
%o A261888 (PARI) nbt(n) = {nb = 0; forprime(p=2, n, forprime(q=2, n, if (p+q^2 > n, break); forprime(r=2, n, if (p+q^2+r^3 > n, break); if (p+q^2+r^3 == n, nb++);););); nb;}
%o A261888 isok(n) = nbt(n)==0;
%Y A261888 Cf. A181149, A261887.
%K A261888 nonn
%O A261888 1,2
%A A261888 _Michel Marcus_, Sep 05 2015