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!)
A282282 Remainder when sum of squares of the first n primes is divided by n-th square pyramidal number. 1

%I #14 Feb 15 2017 09:37:52

%S 0,3,10,27,43,13,106,7,131,87,322,177,675,137,546,1307,691,1496,266,

%T 1307,2226,3627,902,2487,5021,1585,3446,5487,7276,9245,3426,7275,

%U 11887,2495,7546,12203,111,5020,10094,16023,22849,3565,10462,16735,23144,28889,2346,12907,23619,33560,43632,6555,14074,24587

%N Remainder when sum of squares of the first n primes is divided by n-th square pyramidal number.

%C See also graph of this sequence and compare with the graph of A262744.

%H Altug Alkan, <a href="/A282282/b282282.txt">Table of n, a(n) for n = 1..10000</a>

%H Altug Alkan, <a href="/A282282/a282282.png">Alternative Illustration of A282282</a>

%F a(n) = A024450(n) mod A000330(n).

%e a(3) = 10 because (2^2 + 3^2 + 5^2) mod (1^2 + 2^2 + 3^2) = 10.

%t Table[Mod[Total[Prime[Range@ n]^2], Binomial[n + 2, 3] + Binomial[n + 1, 3]], {n, 54}] (* _Michael De Vlieger_, Feb 11 2017 *)

%o (PARI) a(n) = sum(k=1, n, prime(k)^2) % (n*(n+1)*(2*n+1)/6);

%Y Cf. A000040, A000330, A024450, A262744.

%K nonn,easy

%O 1,2

%A _Altug Alkan_, Feb 11 2017

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 April 18 18:49 EDT 2024. Contains 371781 sequences. (Running on oeis4.)