cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

A307008 Numbers that are both prime-indexed primes and lucky-indexed lucky numbers.

Original entry on oeis.org

31, 367, 991, 1087, 1471, 3259, 3559, 5851, 6661, 6841, 8719, 9661, 10723, 11953, 13513, 18181, 20341, 21529, 22651, 23563, 25057, 31189, 39451, 70207, 72727, 75937, 81931, 85843, 87931, 92569, 93169, 108643, 131071, 136483, 143797, 149503, 150991, 163309
Offset: 1

Views

Author

Amiram Eldar, Mar 19 2019

Keywords

Comments

Intersection of A006450 and A032639.

Crossrefs

Programs

  • Mathematica
    m = 10^4; L = Table[2*i + 1, {i, 0, m}]; For[n = 2, n < Length[L], r = L[[n++]]; L = ReplacePart[L, Table[r*i -> Nothing, {i, 1, Length[L]/r}]]]; ll = L[[Select[L, # <= Length[L] &]]]; pp = Prime@ Prime@ Range@ PrimePi@ PrimePi@ (2m); Intersection[pp,ll] (* after Jean-François Alcover at A000959 and Giovanni Resta at A303403 *)

A318480 Least start of n consecutive lucky numbers that are also n consecutive prime numbers.

Original entry on oeis.org

3, 997, 3301, 9631, 62378131
Offset: 1

Views

Author

Amiram Eldar, Aug 27 2018

Keywords

Comments

No other terms below 10^9.
Calculated using Hugo van der Sanden's Lucky numbers up to 10^9.

Examples

			The corresponding consecutive primes/lucky numbers are:
3
997, 1009
3301, 3307, 3313
9631, 9643, 9649, 9661
62378131, 62378137, 62378143, 62378149, 62378161
		

Crossrefs

Showing 1-2 of 2 results.