The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
81 views

How to be faster at making a frequency list of increasing steps

I want to find propabilities of having a sequence in a list, by using frequencies. The case is that you will bet on an increase when the last event had an increased and bet on derease when the last ...
3
votes
8answers
338 views

How to add a column to a table that counts the number of times the lines appear?

I am at a complete loss at this. I have a table with 2 columns and n lines. Some of the lines are repeated. What I want to do is add a new column that counts the number of repetitions of each line. ...
8
votes
1answer
112 views

Strange behavior of BinCounts

Just try this example: ...
3
votes
2answers
139 views

How to count the number of n-gons and line intersections in an image of a complete graph?

I would like to count the number of line intersections and number of n-gons in a complete graph (which forms a regular polygon). The only way I've come up with that would allow me to do both in ...
-3
votes
1answer
38 views

How to obtain from a list, the different data that is in it, and the times that appear each one? [closed]

Are there an easy way to do... from historyobjetivot = {20, 20, 30, 40, 34, 20, 34}; obtain two lists: - One with the each diffrent item number in the ...
-1
votes
1answer
58 views

How do I count a number of primes(say smaller than N) that does not contain 5?

Title says it all. How do I count a number of primes(say smaller than N) that does not contain 5?
2
votes
2answers
103 views

Counting Events in a moving date range

I want to count the number of times events take place in a date range. The counting is done over a window of e.g. 28 days where the goal is to have between 11 and 13 events in the time window. The ...
8
votes
2answers
234 views

Counting and extracting hit circles/triangles for randomly chosen points

Below, you see a triangle in which the incircle was inscribed. As we know, the center of this circle is the intersection of the angle bisectors. At this point, one could go further and find the ...
3
votes
1answer
107 views

Count the number of sqrt and 4th powers in a function

This is a simple and short question. I have a function which contains a certain number of square roots and 4th powers, lets take this one: ...
6
votes
4answers
252 views

Counting adjacent elements in a Matrix?

To start, I have a situation where I have some matrix, for example $$ A=\left[ \begin{matrix} 4&2&2&3&3\\ 2&3&1&2&3\\ 3&0&4&0&4\\ ...
5
votes
4answers
826 views

Select a repeated element in a list

I want to select all elements that repeat 4 times in the list. I propose this code ...
0
votes
3answers
427 views

Find the number of nonzero elements

How do you find the number of elements in a matrix that are non-zero. For instance, the following matrix has 5 nonzero elements. ...
3
votes
3answers
200 views

Prime factor counting function

Is there any way I can speed up this prime factor counting function? (I am looking for all numbers in a range with 3 prime factors (counted with multiplicity).) ...