login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A234256 Cubes t^3 = (p+q+r)/3 which are the arithmetic mean of three consecutive primes such that p < t^3 < q < r. 2

%I #21 Jun 25 2022 17:08:31

%S 5735339,10503459,73560059,253636137,393832837,761048497,791453125,

%T 1064332261,1829276567,2014698447,2487813875,2893640625,4533086375,

%U 7845011803,14437662875,45998156287,55611739513,62429032063,63378025803,72877493233,87115050737,104154702625

%N Cubes t^3 = (p+q+r)/3 which are the arithmetic mean of three consecutive primes such that p < t^3 < q < r.

%H K. D. Bajpai, <a href="/A234256/b234256.txt">Table of n, a(n) for n = 1..3680</a>

%e 5735339 is in the sequence because 5735339 = 179^3 = (5735291+5735357+5735369)/3, the arithmetic mean of three consecutive primes.

%e 10503459 is in the sequence because 10503459 = 219^3 = (10503443+10503461+10503473)/3, the arithmetic mean of three consecutive primes.

%p with(numtheory):KD := proc() local a,b,d,e,f; a:=n^3; b:=prevprime(a); d:=nextprime(a); e:=nextprime(d); f:=(b+d+e)/3; if a=f then RETURN (a); fi; end: seq(KD(), n=2..10000);

%o (PARI) list(lim)=my(v=List(), p=2, q=3, t); forprime(r=5, nextprime(nextprime(lim\3+1)+1), t=(p+q+r)/3; if(denominator(t)==1 && ispower(t,3) && t < q, listput(v, t)); p=q; q=r); Vec(v) \\ _Charles R Greathouse IV_, Jan 03 2014

%Y Cf. A000578 (cubes: n^3).

%Y Cf. A062703 (squares: sum of two consecutive primes).

%Y Cf. A069495 (squares: arithmetic mean of two consecutive primes).

%Y Cf. A234240 (cubes: arithmetic mean of two consecutive primes).

%K nonn

%O 1,1

%A _K. D. Bajpai_, Dec 22 2013

%E Definition corrected by _Michel Marcus_ and _Charles R Greathouse IV_, Jan 03 2014

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 15 15:30 EDT 2024. Contains 375938 sequences. (Running on oeis4.)