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.

A095959 a(n) = n-th prime modulo 30.

This page as a plain text file.
%I A095959 #14 Dec 13 2024 10:24:15
%S A095959 2,3,5,7,11,13,17,19,23,29,1,7,11,13,17,23,29,1,7,11,13,19,23,29,7,11,
%T A095959 13,17,19,23,7,11,17,19,29,1,7,13,17,23,29,1,11,13,17,19,1,13,17,19,
%U A095959 23,29,1,11,17,23,29,1,7,11,13,23,7,11,13,17,1,7,17,19,23,29,7,13,19
%N A095959 a(n) = n-th prime modulo 30.
%C A095959 A002110(3) = 2*3*5 = 30; range for n>3: {1,7,11,13,17,19,23,29} of size 8 = A000720(30) - #{2,3,5} + #{1} = 10 - 3 + 1 = A000010(30).
%H A095959 Vincenzo Librandi, <a href="/A095959/b095959.txt">Table of n, a(n) for n = 1..1000</a>
%F A095959 Sum_k={1..n} a(k) ~ 15*n. - _Amiram Eldar_, Dec 13 2024
%t A095959 Mod[Prime[Range[80]], 30] (* _Harvey P. Dale_, Jul 21 2013 *)
%o A095959 (Magma) [p mod(30): p in PrimesUpTo(500)]; // _Vincenzo Librandi_, May 07 2014
%Y A095959 Cf. similar sequences listed in A242119.
%Y A095959 Cf. A000010, A000720, A002110.
%K A095959 nonn,easy
%O A095959 1,1
%A A095959 _Reinhard Zumkeller_, Jul 14 2004