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!)
A319012 a(n) = Sum_{i=1..n} prime(n*(i - 1) + i). 1

%I #34 Jul 01 2021 16:06:23

%S 2,9,36,99,224,407,724,1129,1700,2451,3382,4543,5986,7661,9724,12041,

%T 14762,17891,21482,25499,29998,35083,40644,46873,53620,61077,69240,

%U 78119,87686,98053,109290,121503,134388,148297,162970,178905,195770,213725,232794

%N a(n) = Sum_{i=1..n} prime(n*(i - 1) + i).

%C a(n) is the trace of the n X n matrix M(n) whose first row contains the first n primes in increasing order, the second row of M(n) contains the next n primes in increasing order, and so on (see examples below).

%C Conjecture: a(2) and a(3) are the only terms that are perfect squares.

%H Stefano Spezia, <a href="/A319012/b319012.txt">Table of n, a(n) for n = 1..3000</a>

%F a(n) = Sum_{i=1..n} A000040(n*(i - 1) + i).

%F a(n) = Sum_{k=1..n} A000040(A209297(n, k)). - _Michel Marcus_, Mar 18 2020

%F a(n) ~ n^3*log(n). - _Stefano Spezia_, Jul 01 2021

%e For n = 1 the matrix M(1) is

%e 2

%e with trace Tr(M(1)) = a(1) = 2.

%e For n = 2 the matrix M(2) is

%e 2, 3

%e 5, 7

%e with Tr(M(2)) = a(2) = 9.

%e For n = 3 the matrix M(3) is

%e 2, 3, 5

%e 7, 11, 13

%e 17, 19, 23

%e with Tr(M(3)) = a(3) = 36.

%p a:=n->add(ithprime(n*(i-1)+i),i=1..n): seq(a(n),n=1..40); # _Muniru A Asiru_, Sep 17 2018

%t Table[Tr[Partition[Array[Prime, n^2], n]], {n, 40}]

%o (PARI) a(n) = sum(i=1, n, prime(n*(i - 1) + i)); \\ _Michel Marcus_, Sep 07 2018

%Y Cf. A000040, A067276 (determinant of the matrices M).

%Y Cf. A209297.

%K nonn

%O 1,1

%A _Stefano Spezia_, Sep 07 2018

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 1 00:18 EDT 2024. Contains 372143 sequences. (Running on oeis4.)