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.

A242090 Number of triples (a,b,c) with 0 < a < b < c < p and a + b + c == 0 mod p, where 2*b < p = prime(n).

This page as a plain text file.
%I A242090 #21 Feb 23 2019 14:48:43
%S A242090 0,0,0,1,5,8,16,21,33,56,65,96,120,133,161,208,261,280,341,385,408,
%T A242090 481,533,616,736,800,833,901,936,1008,1281,1365,1496,1541,1776,1825,
%U A242090 1976,2133,2241,2408,2581,2640,2945,3008,3136,3201,3605,4033,4181,4256
%N A242090 Number of triples (a,b,c) with 0 < a < b < c < p and a + b + c == 0 mod p, where 2*b < p = prime(n).
%C A242090 Given a + b < 2*b < p and c < p it follows that a + b + c < 2*p then the condition reduces to a + b + c = p. - _Fausto A. C. Cariboni_, Sep 30 2018
%C A242090 Apparently a(n) = A030006(n) for 3 <= n <= 1000. - _Georg Fischer_, Oct 23 2018
%C A242090 Confirmed a(n) = A030006(n) for 3 <= n <= 4000. - _Fausto A. C. Cariboni_, Feb 23 2019
%H A242090 Fausto A. C. Cariboni, <a href="/A242090/b242090.txt">Table of n, a(n) for n = 1..4000</a>
%H A242090 Steven J. Miller, <a href="https://arxiv.org/abs/1406.3558">Combinatorial and Additive Number Theory Problem Sessions</a>, arXiv:1406.3558 [math.NT], 2014-2018. See Nathan Kaplan's Problem 2014.1.4 on p. 30.
%F A242090 a(n) = (1/2)*A242089(n).
%e A242090 For prime(4) = 7 there is 1 triple (a,b,c) with 0 < a < b < c < 7 and a+b+c == 0 mod 7, namely, 1+2+4 = 7, so a(4) = 1.
%t A242090 Table[(1/2) Length[ Reduce[ Mod[a + b + c, Prime[n]] == 0 && 0 < a < b < c < Prime[n], {a, b, c}, Integers]], {n, 40}]
%Y A242090 Cf. A030006, A242089.
%K A242090 nonn
%O A242090 1,5
%A A242090 _Jonathan Sondow_, Jun 16 2014
%E A242090 a(41)-a(50) from _Fausto A. C. Cariboni_, Sep 30 2018