Sequences
392,541 sequences
- a(n) = floor((Sum of the first n natural numbers)/(Sum of the first n terms of the harmonic series)).A096061
a(n) = floor((Sum of the first n natural numbers)/(Sum of the first n terms of the harmonic series)).
- a(1) = a(2) = 1; for n > 2, if a(n-2) + a(n-1) > n then a(n) = abs(a(n-2) - a(n-1)) else a(n) = a(n-2) + a(n-1).A096062
a(1) = a(2) = 1; for n > 2, if a(n-2) + a(n-1) > n then a(n) = abs(a(n-2) - a(n-1)) else a(n) = a(n-2) + a(n-1).
- Beginning with the sequence S(1)={1} form, in succession, the sequence S(n) for n=2,3,4,... by inserting the n smallest multiples of n that have not been used previously, in order of increasing size, n-1 of them between the final n terms of S(n-1) and the final multiple after the last term of S(n-1). {a(n)} is the limit of this process as n -> inf.A096063
Beginning with the sequence S(1)={1} form, in succession, the sequence S(n) for n=2,3,4,... by inserting the n smallest multiples of n that have not been used previously, in order of increasing size, n-1 of them between the final n terms of S(n-1) and the final multiple after the last term of S(n-1). {a(n)} is the limit of this process as n -> inf.
- Let p(k) = k-th prime; sequence gives primes q of the form q = k*p(k) + 1 for some k.A096064
Let p(k) = k-th prime; sequence gives primes q of the form q = k*p(k) + 1 for some k.
- Let p(k) = k-th prime; sequence gives primes q of the form q = k*p(k) - 1 for some k.A096065
Let p(k) = k-th prime; sequence gives primes q of the form q = k*p(k) - 1 for some k.
- Triangle read by rows, 1<=k<=n: T(n,k) is the number of occurrences of the k-th prime in partitions of the n-th prime into primes.A096066
Triangle read by rows, 1<=k<=n: T(n,k) is the number of occurrences of the k-th prime in partitions of the n-th prime into primes.
- Number of 3-smooth numbers between successive numbers that are powers of 2 or of 3.A096067
Number of 3-smooth numbers between successive numbers that are powers of 2 or of 3.
- Concatenated in binary representation: largest proper divisor of n and smallest prime factor of n.A096068
Concatenated in binary representation: largest proper divisor of n and smallest prime factor of n.
- Smallest prime ending in prime(n) and == 1 (mod prime(n)), or 0 if no such prime exists.A096069
Smallest prime ending in prime(n) and == 1 (mod prime(n)), or 0 if no such prime exists.
- a(n) = least k > 0 not occurring earlier such that n-th partial sum is prime iff n is even.A096070
a(n) = least k > 0 not occurring earlier such that n-th partial sum is prime iff n is even.
- Primes arising as a partial sum of A096070.A096071
Primes arising as a partial sum of A096070.
- Numbers whose position is not changed by the rearrangement defined by A096070; or k such that A096070(k) = k.A096072
Numbers whose position is not changed by the rearrangement defined by A096070; or k such that A096070(k) = k.
- Duplicate of A088302.A096073
Duplicate of A088302.
- Prime(n)!/composite(n)!.A096074
Prime(n)!/composite(n)!.
- Least common multiple of first n 3-smooth numbers.A096075
Least common multiple of first n 3-smooth numbers.
- Not the sum of two relatively prime composite numbers.A096076
Not the sum of two relatively prime composite numbers.
- a(0)=0 and for n>0, a(n) is the smallest positive integer that cannot be derived by the adding or subtracting at most three terms with values in {a(0),...,a(n-1)} allowing repeats.A096077
a(0)=0 and for n>0, a(n) is the smallest positive integer that cannot be derived by the adding or subtracting at most three terms with values in {a(0),...,a(n-1)} allowing repeats.
- Triangle read by rows: T(n,k) = (k+1)*T(n-1,k) + (n-k+1)*T(n,k-1).A096078
Triangle read by rows: T(n,k) = (k+1)*T(n-1,k) + (n-k+1)*T(n,k-1).
- Near hypotenuse numbers, i.e., n such that n^2 -+ 1 = a^2 + b^2, with a, b > 1.A096079
Near hypotenuse numbers, i.e., n such that n^2 -+ 1 = a^2 + b^2, with a, b > 1.
- a(n) = floor((a(n-2)*a(n-1))/(a(n-1)+a(n-2))) + a(n-1) + a(n-2), a(0) = 0, a(1) = 1, a(2) = 1, ...A096080
a(n) = floor((a(n-2)*a(n-1))/(a(n-1)+a(n-2))) + a(n-1) + a(n-2), a(0) = 0, a(1) = 1, a(2) = 1, ...
- a(n) = floor(a(n-2)^2/a(n-1)) + a(n-1) + a(n-2), a(0) = 0, a(1) = 1, a(2) = 1, ...A096081
a(n) = floor(a(n-2)^2/a(n-1)) + a(n-1) + a(n-2), a(0) = 0, a(1) = 1, a(2) = 1, ...
- Smallest odd prime p such that p^2 | n^(p-1) - 1.A096082
Smallest odd prime p such that p^2 | n^(p-1) - 1.
- Numbers k such that the sum of the squared digits of k plus the largest digit of k is a square.A096083
Numbers k such that the sum of the squared digits of k plus the largest digit of k is a square.
- a(n) = 155*a(n-1) - 4290*a(n-2) + 7931*a(n-3) + 74*a(n-4).A096084
a(n) = 155*a(n-1) - 4290*a(n-2) + 7931*a(n-3) + 74*a(n-4).
- a(n) is the least positive integer such that for 1 <= k <= n, the concatenation of the k terms a(n-k+1) through a(n) is a multiple of k.A096085
a(n) is the least positive integer such that for 1 <= k <= n, the concatenation of the k terms a(n-k+1) through a(n) is a multiple of k.
- a(n) = 153*a(n-1) - 3984*a(n-2) - 37*a(n-3).A096086
a(n) = 153*a(n-1) - 3984*a(n-2) - 37*a(n-3).
- Triangle read by rows: row n lists cubic remainders modulo n.A096087
Triangle read by rows: row n lists cubic remainders modulo n.
- Triangle read by rows: row n lists quartic remainders modulo n.A096088
Triangle read by rows: row n lists quartic remainders modulo n.
- Let f(n) = largest number formed using digits of n, g(n) = smallest number formed using digits of n; then a(n) = floor(f(n)/g(n)).A096089
Let f(n) = largest number formed using digits of n, g(n) = smallest number formed using digits of n; then a(n) = floor(f(n)/g(n)).
- Index of the first occurrence of n in A096089, or 0 if n never appears.A096090
Index of the first occurrence of n in A096089, or 0 if n never appears.
- Numbers n with property that largest number formed from digits of n (A004186(n)) is divisible by smallest number formed from digits of n (A004185(n)).A096091
Numbers n with property that largest number formed from digits of n (A004186(n)) is divisible by smallest number formed from digits of n (A004185(n)).
- Numbers whose digits can be permuted to get a proper divisor.A096092
Numbers whose digits can be permuted to get a proper divisor.
- Numbers, not divisible by 10, whose digits can be permuted to get a proper divisor.A096093
Numbers, not divisible by 10, whose digits can be permuted to get a proper divisor.
- Analog of A094091 for S=3.A096094
Analog of A094091 for S=3.
- Digital Fibonacci numbers: a(0) = a(1) = 1; a(n+2) = a(n) ++ a(n+1) where ++ stands for digit-wise sum (with no carries).A096095
Digital Fibonacci numbers: a(0) = a(1) = 1; a(n+2) = a(n) ++ a(n+1) where ++ stands for digit-wise sum (with no carries).
- a(1) = 1, a(2) = 2, a(n+2) = a(n)#*#a(n+1) where #*# stands for digit-wise product of a(n) and a(n+1).A096096
a(1) = 1, a(2) = 2, a(n+2) = a(n)#*#a(n+1) where #*# stands for digit-wise product of a(n) and a(n+1).
- a(1) = 2, a(2) = 1; for n >= 3, a(n) = least prime not included earlier that divides the concatenation of all previous terms.A096097
a(1) = 2, a(2) = 1; for n >= 3, a(n) = least prime not included earlier that divides the concatenation of all previous terms.
- a(1) = 2, a(2) = 1; for n >= 3, a(n) = least number not included earlier that divides the concatenation of all previous terms.A096098
a(1) = 2, a(2) = 1; for n >= 3, a(n) = least number not included earlier that divides the concatenation of all previous terms.
- a(0) = 1, a(n) = least number such that the concatenation of all terms through a(n) is divisible by prime(n).A096099
a(0) = 1, a(n) = least number such that the concatenation of all terms through a(n) is divisible by prime(n).
- a(1) = 1; for n > 1: a(n) = smallest number >1 such that product of any two or more successive terms + 1 is prime.A096100
a(1) = 1; for n > 1: a(n) = smallest number >1 such that product of any two or more successive terms + 1 is prime.
- a(1) = 1; for n > 1: a(n) = smallest number >1 such that product of any two or more successive terms - 1 is prime.A096101
a(1) = 1; for n > 1: a(n) = smallest number >1 such that product of any two or more successive terms - 1 is prime.
- a(1) = 1, a(2) = 3; for n > 2: a(n) = smallest (odd) number not occurring earlier such that the sum of each section of odd length >= 3 is prime.A096102
a(1) = 1, a(2) = 3; for n > 2: a(n) = smallest (odd) number not occurring earlier such that the sum of each section of odd length >= 3 is prime.
- Table read by rows: row n contains the quadratic residues modulo n which are coprime to n.A096103
Table read by rows: row n contains the quadratic residues modulo n which are coprime to n.
- Digit reversal of A096299(n).A096104
Digit reversal of A096299(n).
- Numbers such that every digit is a multiple of the digit to its left.A096105
Numbers such that every digit is a multiple of the digit to its left.
- Numbers such that every digit is a multiple of the digit to its right.A096106
Numbers such that every digit is a multiple of the digit to its right.
- Triangle read by rows: row n lists cubic residues modulo n.A096107
Triangle read by rows: row n lists cubic residues modulo n.
- Enumeration of all numbers with no repeated digits, and all digits > 0. If the digits of n are k_1, ..., k_m, sort first by 2^k_1 + ... + 2^k_m, then by n.A096108
Enumeration of all numbers with no repeated digits, and all digits > 0. If the digits of n are k_1, ..., k_m, sort first by 2^k_1 + ... + 2^k_m, then by n.
- Beginning with 1 distinct numbers. A new digit say n occurs after exhausting all possible numbers containing up to and at most n-1 digits, in increasing order (in a typical manner explained in the example) formed by already occurring digits.A096109
Beginning with 1 distinct numbers. A new digit say n occurs after exhausting all possible numbers containing up to and at most n-1 digits, in increasing order (in a typical manner explained in the example) formed by already occurring digits.
- Triangle read by rows: row n lists quartic residues modulo n.A096110
Triangle read by rows: row n lists quartic residues modulo n.