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-6 of 6 results.

A230082 a(n) is the smallest prime that is the first of n consecutive primes whose product of digits is equal and nonzero.

Original entry on oeis.org

2, 1913, 442619, 336737123, 123381165263, 11865678519229
Offset: 1

Views

Author

Shyam Sunder Gupta, Oct 08 2013

Keywords

Examples

			a(3) = 442619, since 442619, 442633 and 442691 are three consecutive primes with product of digits as 1728 and this is the first occurrence of three consecutive primes whose product of digits is equal and nonzero.
		

Crossrefs

Extensions

a(5)-a(6) from Giovanni Resta, Oct 08 2013

A071614 a(n) is the smallest emirp that is the first of n consecutive emirps with equal digit sum.

Original entry on oeis.org

13, 79, 15919, 197837, 3528871, 110539181, 731854429, 9819391129
Offset: 1

Views

Author

Klaus Brockhaus, May 27 2002

Keywords

Comments

a(9) > 10^11. - Donovan Johnson, Nov 07 2010

Examples

			a(3) = 15919, since 15919,15937,15973 are three consecutive emirps with digit sum 25 and this is the first occurrence of three consecutive emirps with equal digit sum.
		

Crossrefs

Extensions

a(7)-a(8) from Donovan Johnson, Nov 07 2010

A227931 Smallest sets of 5 consecutive primes with equal digital sum. The initial prime is listed.

Original entry on oeis.org

5521819, 33014273, 36183593, 39874273, 47143739, 82934191, 83640653, 86225437, 89121073, 99551093, 104663773, 108616619, 109514719, 117611519, 131616409, 142348637, 151942291, 168056137, 168066791, 172096037, 196415237, 197604227, 203519819, 204983507
Offset: 1

Views

Author

Shyam Sunder Gupta, Oct 06 2013

Keywords

Examples

			5521819 is in the sequence because 5521819, 5521891, 5521927, 5521963 and 5521981 are consecutive primes and the sum of the digits of each = 31.
		

Crossrefs

Programs

  • Mathematica
    a = {}; m = 1; s = 1; Do[If[(y = Apply[Plus, IntegerDigits[x = Prime[n]]]) == s , m = m + 1; If[m == 6, AppendTo[a, Prime[n - 5]]], m = 1]; s = y, {n, 2, 100000000}];a
    Select[Partition[Prime[Range[11340000]],5,1],Length[Union[Total/@(IntegerDigits/@ #)]] == 1&][[All,1]] (* Harvey P. Dale, Apr 14 2022 *)

A227933 Smallest sets of 6 consecutive primes with equal digital sum. The initial prime is listed.

Original entry on oeis.org

354963229, 448024483, 467739719, 475313609, 525523709, 771943583, 790277219, 881160173, 901572019, 925569683, 1051470419, 1085896727, 1110999817, 1285560163, 1331768783, 1455016319, 1472310383, 1519074619, 1628600381, 1815368519, 1914032047, 1990306673
Offset: 1

Views

Author

Shyam Sunder Gupta, Oct 06 2013

Keywords

Examples

			354963229 is in the sequence because 354963229, 354963283, 354963319, 354963337, 354963373 and 354963391 are consecutive primes and the sum of the digits of each = 43
		

Crossrefs

Programs

  • Mathematica
    a = {}; m = 1; s = 1; Do[If[(y = Apply[Plus, IntegerDigits[x = Prime[n]]]) == s , m = m + 1; If[m == 6, AppendTo[a, Prime[n - 5]]], m = 1]; s = y, {n, 2, 200000000}];a

A230229 a(n) is the smallest palindromic prime that is the first of n consecutive palindromic primes with equal digit sum.

Original entry on oeis.org

2, 11, 74747, 185595581, 16831813861, 94350482728405349, 3842148274728412483, 30308322353935322380303
Offset: 1

Views

Author

Shyam Sunder Gupta, Oct 12 2013

Keywords

Comments

a(9) > 10^24.

Examples

			a(3) = 74747, since 74747, 75557 and 76367 are three consecutive palindromic primes with digit sum 29 and this is the first occurrence of three consecutive palindromic primes with equal digit sum.
		

Crossrefs

Extensions

a(8) from Shyam Sunder Gupta, Nov 09 2013

A375765 Square array read by antidiagonals in ascending order T(n,k), n > 1 and k > 0, representing the least prime p that starts a run of exactly k consecutive primes, all having the same sum of digits in base n > 1, or -1 if no such number exists.

Original entry on oeis.org

2, 2, 3, 2, 11, 7, 2, 23, 7, 167, 2, 7, 151, 5, 941, 2, 139, 479, 1901, 1019, 6299, 2, 23, 8543, 467, 12823, 1013, 6287, 2, 293, 151, 123239, 463, 102811, 4391, 150287, 2, 89, 23929, 251, 2350349, 15667, 369991, 8849, 866087, 2, 523, 1823, 370247, 1747, 24370007
Offset: 2

Views

Author

Jean-Marc Rebert, Aug 27 2024

Keywords

Examples

			T(2,3) = 7, because the 3 consecutive primes 7 = 111_2, 11 = 1011 and 13 = 1101_2 have all the same sum of digits in base 2, and no lesser number has this property.
The upper left square of the table begins at T(2,1):
  2   3    7    167     941     6299 ...
  2  11    7      5    1019     1013 ...
  2  23  151   1901   12823   102811 ...
  2   7  479    467     463    15667 ...
  2 139 8543 123239 2350349 24370007 ...
  2  23  151    251    1747     1741 ...
... ...  ...    ...     ...      ... ...
		

Crossrefs

Cf. A071613.
Showing 1-6 of 6 results.