Questions tagged [digit-sequences]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
8 votes
4 answers
1k views

Determining occurrence of a sequence of numbers in the first 50,000 primes

I have to determine how many of the first 50,000 prime numbers (digits) contain the sequence 5, 4, 3, in that order. The numbers don't have to necessarily be consecutive. For example, 566453 is a ...
Claire's user avatar
  • 141
1 vote
2 answers
121 views

Generate a sequence of primes giving position and value of a digit in its digit-decomposed version

The prime sequence starts: ...
Hans Havermann's user avatar
1 vote
1 answer
27 views

Can FindSequenceFunction work on subscripts/superscripts?

I am trying to find a pattern 'encoded' into variables with superscript labels, which incidentally look much like exponents. FindSequenceFunction though doesn't ...
Ziofil's user avatar
  • 2,469
1 vote
2 answers
112 views

Short Normal Numbers in base 10

Normal numbers in base 10 are those for which, in the base 10 decimal expansion, you can find every natural number. Champernowne's number is a very simple example of this where it is simply written as:...
Jonathan Shock's user avatar
2 votes
2 answers
81 views

Counting the number of Configurations in an Array with Constraints

Consider an array $$\{a_i\}, i=1, ..., N$$ with periodic boundary condition, i.e. $i\equiv i+N$. $a_i\in \{0, 1\}$. I would like to count the number of configurations of the array $\{a_i\}$ satisfying ...
user34104's user avatar
  • 251
1 vote
2 answers
205 views

Listing all monotone binary functions

A monotone binary function is defined as follows: Given binary vectors $\bf x$ and $\bf y$ (each having $n$ bits) with $\bf x\geq \bf y$, a function $f:\bf x\rightarrow\{0,1\}$ is called monotone if $...
Seyhmus Güngören's user avatar
4 votes
1 answer
251 views

Self-locating Strings in $\pi$?

According to The Pi-Search Page, in the first 100 million digits of $\pi$ the following numbers are self-locating: 1, 16470, 44899, 79873884. The following inefficient code (which also does not ...
TheDoctor's user avatar
  • 2,742