Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A089740
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A089740 Primes which are tens complements of primes. +0
1
3, 5, 7, 13, 31, 37, 43, 67, 73, 79, 97, 103, 113, 127, 139, 157, 163, 173, 181, 191, 199, 223, 227, 229, 233, 251, 257, 271, 281, 283, 313, 337, 349, 353, 359, 367, 383, 409, 419, 433, 449, 457, 463, 467, 479, 491, 523, 541, 547, 563, 569, 587, 601, 619, 631 (list; graph; listen)
OFFSET

1,1

MATHEMATICA

b=Delete[Union[ Table[If[PrimeQ[a[[n]]]==True, a[[n]], 0], {n, 1, Dimensions[a][[1]]}]], 1]

PROGRAM

(TRUE BASIC) 100 -300 Prime Sieve into p(n): 301 DIM a( 0 to 10) 302 open #1: name "CM1:Pmod10R1000_data.txt", create newold, org text 310 FOR n=1 to 1000 311 LET a0=p(n) 320 FOR m=0 to 10 330 Rem digit 10 vecxtor 331 LET a(m)=mod(a0, 10) 340 LET a0=(a0-a(m))/10 350 NEXT m 351 LET s=0 352 rem make 10's complement of prime numbers 360 FOR l=0 to 10 370 LET s=s+Mod(10-a(l), 10)*10^l 380 NEXT l 390 PRINT #1: s; ", "; 400 NEXT n 401 close #1 460 END

CROSSREFS

Sequence in context: A128547 A087383 A038928 this_sequence A047933 A075557 A057187

Adjacent sequences: A089737 A089738 A089739 this_sequence A089741 A089742 A089743

KEYWORD

nonn,base

AUTHOR

Roger L. Bagula (rlbagulatftn(AT)yahoo.com), Jan 08 2004

EXTENSIONS

Edited by Charles R Greathouse IV (charles.greathouse(AT)case.edu), Oct 28 2009

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | The OEIS Foundation | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified March 20 09:10 EDT 2010. Contains 173642 sequences.


AT&T Labs Research