Sequences
392,541 sequences
- G.f.: x*(1 - x + x^2)/((1-x)^2 * (1 - x - x^2)).A104161
G.f.: x*(1 - x + x^2)/((1-x)^2 * (1 - x - x^2)).
- Indicator sequence for the Fibonacci numbers.A104162
Indicator sequence for the Fibonacci numbers.
- Primes p such that (2p+1)/3 is prime.A104163
Primes p such that (2p+1)/3 is prime.
- Sophie Germain type primes where 5*Prime[n]=2*Prime[m]+1.A104164
Sophie Germain type primes where 5*Prime[n]=2*Prime[m]+1.
- Sophie Germain type primes where 7*Prime[n]=2*Prime[m]+1.A104165
Sophie Germain type primes where 7*Prime[n]=2*Prime[m]+1.
- Repdigit Smith numbers.A104166
Repdigit Smith numbers.
- Numbers which when multiplied by any repunit prime Rp give a Smith number.A104167
Numbers which when multiplied by any repunit prime Rp give a Smith number.
- Smallest Smith number with n prime factors.A104168
Smallest Smith number with n prime factors.
- Highly decomposable Smith numbers. A Smith number which sets a record for the number of prime factors (counting multiplicity) starting from first Smith number is called a highly decomposable Smith number.A104169
Highly decomposable Smith numbers. A Smith number which sets a record for the number of prime factors (counting multiplicity) starting from first Smith number is called a highly decomposable Smith number.
- Number of Smith numbers below 10^n.A104170
Number of Smith numbers below 10^n.
- Reversible Smith numbers, i.e., Smith numbers whose reversal is also a Smith number.A104171
Reversible Smith numbers, i.e., Smith numbers whose reversal is also a Smith number.
- Replace nonprimes in A005185 with zeros.A104172
Replace nonprimes in A005185 with zeros.
- a(n) is the smallest integer equal to the sum and the product of the same n positive integers: a(n) = i(1) + i(2) + ... + i(n) = i(1)*i(2)*...*i(n).A104173
a(n) is the smallest integer equal to the sum and the product of the same n positive integers: a(n) = i(1) + i(2) + ... + i(n) = i(1)*i(2)*...*i(n).
- Numerator of the fractional part of a harmonic number.A104174
Numerator of the fractional part of a harmonic number.
- From the words to the song "867-5309/Jenny" by Tommy Tutone.A104175
From the words to the song "867-5309/Jenny" by Tommy Tutone.
- a(n) = bitwise OR of all terms of n-th row of Pascal's triangle.A104176
a(n) = bitwise OR of all terms of n-th row of Pascal's triangle.
- A variation on Flavius's sieve (A000960): Start with the natural numbers; at the k-th sieving step, remove every f-th term of the sequence remaining after the (k-1)-st sieving step, where f is the (k+2)-nd Fibonacci number, f=F(k+2); iterate.A104177
A variation on Flavius's sieve (A000960): Start with the natural numbers; at the k-th sieving step, remove every f-th term of the sequence remaining after the (k-1)-st sieving step, where f is the (k+2)-nd Fibonacci number, f=F(k+2); iterate.
- Decimal expansion of log_10(3+2*sqrt(2)).A104178
Decimal expansion of log_10(3+2*sqrt(2)).
- Primes that are either single-digit primes or a concatenation of two earlier terms.A104179
Primes that are either single-digit primes or a concatenation of two earlier terms.
- Let f[n]=Prime[n+1]-Prime[n]; a(n) = Binomial[Prime[12],f[n]].A104180
Let f[n]=Prime[n+1]-Prime[n]; a(n) = Binomial[Prime[12],f[n]].
- Let f(n)=mod(prime(n),12); then a(n) = binomial(prime(12),f(n)).A104181
Let f(n)=mod(prime(n),12); then a(n) = binomial(prime(12),f(n)).
- Palindromes in the order in which they appear in Pascal's triangle, without repetition.A104182
Palindromes in the order in which they appear in Pascal's triangle, without repetition.
- Table of random digits from Abramowitz and Stegun.A104183
Table of random digits from Abramowitz and Stegun.
- a(n) is the number of paths from (0,0) to (n,0) using steps of the form (1,2),(1,1),(1,0),(1,-1) or (1,-2) and staying above the x-axis. Also, a(n) is the number of possible combinations of balls on the lawn after n turns, using a Motzkin variation of the (4,2)-case of the tennis ball problem considered by D. Merlini, R. Sprugnoli and M. C. Verri.A104184
a(n) is the number of paths from (0,0) to (n,0) using steps of the form (1,2),(1,1),(1,0),(1,-1) or (1,-2) and staying above the x-axis. Also, a(n) is the number of possible combinations of balls on the lawn after n turns, using a Motzkin variation of the (4,2)-case of the tennis ball problem considered by D. Merlini, R. Sprugnoli and M. C. Verri.
- Number of partitions of the set {1, 2, 3, ..., 6n+3} into 2n+1 sets of 3 elements each, such that each 3-element set has the same sum (there are no such partitions unless there are 6n+3 elements).A104185
Number of partitions of the set {1, 2, 3, ..., 6n+3} into 2n+1 sets of 3 elements each, such that each 3-element set has the same sum (there are no such partitions unless there are 6n+3 elements).
- Number of distinct prime divisors of numbers from four consecutive concatenated odd numbers.A104186
Number of distinct prime divisors of numbers from four consecutive concatenated odd numbers.
- Expansion of g.f. -(1+x^2+x^4)/((x^3+x^2+x-1)*(x-1)^2).A104187
Expansion of g.f. -(1+x^2+x^4)/((x^3+x^2+x-1)*(x-1)^2).
- a(n) = 4*n*(4*n - 1).A104188
a(n) = 4*n*(4*n - 1).
- Prime numbers arising from Schorn's proof that there are infinitely many primes.A104189
Prime numbers arising from Schorn's proof that there are infinitely many primes.
- Sums of primes between successive powers of two.A104190
Sums of primes between successive powers of two.
- Sum of Euler totient function between successive powers of two.A104191
Sum of Euler totient function between successive powers of two.
- a(n) = prime(n) - phi(n).A104192
a(n) = prime(n) - phi(n).
- a(n) = prime(n) - Carmichael lambda(n).A104193
a(n) = prime(n) - Carmichael lambda(n).
- a(n) = phi(n) - lambda(n).A104194
a(n) = phi(n) - lambda(n).
- a(n) = -(phi(n) + CarmichaelLambda(n)) + prime(n).A104195
a(n) = -(phi(n) + CarmichaelLambda(n)) + prime(n).
- Sum of CarmichaelLambda[n] between successive powers of 2.A104196
Sum of CarmichaelLambda[n] between successive powers of 2.
- Largest nonnegative integer r such that prime(n) + r and prime(n) - r are both prime.A104197
Largest nonnegative integer r such that prime(n) + r and prime(n) - r are both prime.
- Smallest number greater than n, having in its decimal representation more distinct digits than n, that are also different from n's digits.A104198
Smallest number greater than n, having in its decimal representation more distinct digits than n, that are also different from n's digits.
- Lower bound on a straddle prime pair.A104199
Lower bound on a straddle prime pair.
- Upper bound on a straddle prime pair.A104200
Upper bound on a straddle prime pair.
- Sums of straddle primes.A104201
Sums of straddle primes.
- Differences of straddle primes.A104202
Differences of straddle primes.
- Expansion of the sine lemniscate function sl(x).A104203
Expansion of the sine lemniscate function sl(x).
- If n==0 (mod 3) then a(n)=a(n-1); if n==1 (mod 3) then a(n)=a(n-2)+a(n-3); if n==2 (mod 3) then a(n)=a(n-3)+a(n-4)+a(n-5).A104204
If n==0 (mod 3) then a(n)=a(n-1); if n==1 (mod 3) then a(n)=a(n-2)+a(n-3); if n==2 (mod 3) then a(n)=a(n-3)+a(n-4)+a(n-5).
- If mod[n,4]=0 then a(n)=a(n-1), if mod[n,4]=1 then a(n)=a(n-2)+a(n-3), if mod[n,4]=2 then a(n)=a(n-3)+a(n-4)+a(n-5), if mod[n,4]=2 then a(n)=a(n-4)+a(n-5)+a(n-6)+a[n-7].A104205
If mod[n,4]=0 then a(n)=a(n-1), if mod[n,4]=1 then a(n)=a(n-2)+a(n-3), if mod[n,4]=2 then a(n)=a(n-3)+a(n-4)+a(n-5), if mod[n,4]=2 then a(n)=a(n-4)+a(n-5)+a(n-6)+a[n-7].
- Concatenation of the smallest and the largest n-digit primes.A104206
Concatenation of the smallest and the largest n-digit primes.
- Concatenation of consecutive twin primes.A104207
Concatenation of consecutive twin primes.
- Numbers of digits in p1^p2 where p2 > p1 and (p1, p2) are twin primes.A104208
Numbers of digits in p1^p2 where p2 > p1 and (p1, p2) are twin primes.
- Number of labeled directed multigraphs with n arrows and no vertex of degree 0.A104209
Number of labeled directed multigraphs with n arrows and no vertex of degree 0.
- Positive integers divisible by at least 2 consecutive primes.A104210
Positive integers divisible by at least 2 consecutive primes.