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!)
A173662 Triangle read by rows: R(n,k)= semiprime(n) mod semiprime(k), 0<k<=n. 0

%I #12 Mar 31 2012 14:00:56

%S 0,2,0,1,3,0,2,4,1,0,2,2,5,4,0,3,3,6,5,1,0,1,3,3,1,7,6,0,2,4,4,2,8,7,

%T 1,0,1,1,7,5,11,10,4,3,0,2,2,8,6,12,11,5,4,1,0,1,3,6,3,5,3,12,11,8,7,

%U 0,2,4,7,4

%N Triangle read by rows: R(n,k)= semiprime(n) mod semiprime(k), 0<k<=n.

%C Row sums are 0, 2, 4, 7, 13, 18, 28,...

%e 0,

%e 2,0;

%e 1,3,0;

%e 2,4,1,0;

%e 2,2,5,4,0;

%e 3,3,6,5,1,0;

%e 1,3,3,1,7,6,0;

%e 2,4,4,2,8,7,1,0;

%t SemiprimeQ[n_Integer] := If[Abs[n]<2, False, (2==Plus@@Transpose[FactorInteger[Abs[n]]][[2]])]; sp = Select[Range[100], SemiprimeQ]; Flatten[Table[Mod[sp[[n]], sp[[Range[n]]]], {n,Length[sp]}]]

%Y Cf. A001358, A173655.

%K nonn,tabl,easy

%O 1,2

%A _Juri-Stepan Gerasimov_, Nov 28 2010

%E 46th term corrected by _D. S. McNeil_, Nov 24 2010

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 16 03:28 EDT 2024. Contains 371696 sequences. (Running on oeis4.)