The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A226196 Triangular numbers which are an average of four consecutive primes. 2
15, 55, 105, 120, 253, 595, 1225, 1485, 2080, 2211, 3321, 4371, 5460, 6786, 7381, 7503, 10731, 11935, 12246, 16290, 18915, 24531, 24753, 27966, 36585, 44850, 51360, 55278, 55945, 56953, 60031, 64980, 68265, 69006, 70125, 75078, 86736, 87153, 92235, 94830, 98790, 111628 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A000217(A226153(n)).
MAPLE
A000217inv:=proc(n)
local t1;
t1:=floor(sqrt(2*n));
if n = t1*(t1+1)/2 then
return t1 ;
else
return -1;
end if;
end proc:
for n from 1 to 90000 do
s := A034963(n)/4 ;
if type(s, 'integer') then
tr := A000217inv(s) ;
if tr >= 0 then
printf("%d, ", s) ;
end if;
end if;
end do: # R. J. Mathar, Jun 06 2013
MATHEMATICA
Select[Mean/@Partition[Prime[Range[20000]], 4, 1], OddQ[Sqrt[8#+1]]&] (* Harvey P. Dale, Dec 18 2015 *)
CROSSREFS
Sequence in context: A119138 A043192 A043972 * A179741 A144312 A062025
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, May 30 2013
STATUS
approved

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 May 14 14:46 EDT 2024. Contains 372533 sequences. (Running on oeis4.)