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

A083990 Primes arising in A083989.

Original entry on oeis.org

37, 73, 1783, 2377, 2971, 3169, 4159, 4357, 5347, 6733, 7129, 8317, 109891, 127873, 139861, 151849, 173827, 179821, 197803, 211789, 229771, 263737, 271729, 281719, 307693, 359641, 463537, 547453, 557443, 569431, 587413, 593407, 673327, 677323
Offset: 1

Views

Author

Amarnath Murthy, May 23 2003

Keywords

Examples

			4357 is the term corresponding to 43.
		

Crossrefs

Extensions

More terms from Sam Alexander, Feb 27 2005

A083991 Members of A083989 whose 10's complement is also a member of A083989.

Original entry on oeis.org

3, 7, 17, 29, 71, 83, 281, 719, 983, 997, 1637, 2309, 3701, 4493, 5507, 6299, 7691, 8363, 9161, 9803, 11003, 13163, 17117, 18371, 20807, 31181, 31793, 32693, 32843, 33617, 33893, 34211, 34673, 37277, 38453, 49409, 50591, 61547, 62723, 65327
Offset: 1

Views

Author

Amarnath Murthy, May 23 2003

Keywords

Examples

			Leading zeros are removed before concatenation: 997 is in here because 997 is in A083989 (9973 is prime) and its 10-complement 3 is also in A083989 (37 is prime). Unlike the example of 17 and 83, the 10-complement is not a 1-to-1 relation in cases where 9 shows up as a most significant digit.
17 and 83 both are members and are each other's 10's complement.
		

Crossrefs

Programs

  • Maple
    A055120 := proc(n) local digs ; digs := ilog10(n)+1 ; 10^digs-n ; end: isA083989 := proc(n) local comp,ccat ; if isprime(n) then comp := A055120(n) ; ccat := n*10^(ilog10(comp)+1)+comp ; RETURN( isprime(ccat)) ; else false ; fi ; end: isA083991 := proc(n) local comp; if isA083989(n) then comp := A055120(n) ; RETURN( isA083989(comp) ) ; else false ; fi ; end: for n from 1 to 80000 do if isA083991(n) then printf("%d,",n) ; fi ; od ; # R. J. Mathar, Jul 18 2007

Extensions

More terms from Diana L. Mecum and R. J. Mathar, Jul 18 2007

A372082 Primes p such that the 10's complement A089186(p) and the concatenations of p and A089186(p) and of A089186(p) and p are all prime.

Original entry on oeis.org

3, 7, 17, 29, 71, 83, 281, 719, 1637, 2309, 3701, 4493, 5507, 6299, 7691, 8363, 9029, 11003, 13163, 17117, 18371, 20807, 31181, 31793, 32693, 32843, 33617, 33893, 34211, 34673, 37277, 38453, 49409, 50591, 61547, 62723, 65327, 65789, 66107, 66383, 67157, 67307, 68207, 68819, 79193, 81629, 82883
Offset: 1

Views

Author

Robert Israel, Jul 03 2024

Keywords

Comments

If p is a term and starts with 1 to 8, then its 10's complement A089186(p) is also a term. This is not the case if p starts with 9, as then A089186(A089186(p)) <> p. For example, 9029 is a term but its 10's complement 971 is not a term.

Examples

			a(3) = 17 is a term because 17 is a prime, its 10's complement 83 is a prime, and the concatenations 1783 and 8317 are primes.
		

Crossrefs

Cf. A089186. Subset of A083989.

Programs

  • Maple
    filter:= proc(n) local d,c;
    if not isprime(n) then return false fi;
    d:= 10^(1+ilog10(n)); c:= d-n;
    isprime(c) and isprime(c*d+n) and isprime(n*10^(1+ilog10(c))+c)
    end proc:
    select(filter, [seq(i,i=3..10000,2)]);
Showing 1-3 of 3 results.