Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A118495
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A118495 Chen primes written backwards. +0
1
2, 3, 5, 7, 11, 31, 71, 91, 32, 92, 13, 73, 14, 74, 35, 95, 76, 17, 38, 98, 101, 701, 901, 311, 721, 131, 731, 931, 941, 751, 761, 971, 181, 191, 791, 991, 112, 722, 332, 932, 152, 752, 362, 962, 182, 392, 703, 113, 713, 733, 743, 353, 953, 973, 983, 104, 904 (list; graph; listen)
OFFSET

1,1

MAPLE

# Check if number is Chen prime ischenprime:=proc(n); if (isprime(n) = 'true') then if (isprime(n+2) = 'true' or numtheory[bigomega](n+2) = 2) then return 'true' else return 'false' fi fi end: #Reverse digits obrni_stev:=proc(n) local i, tren, tren1, st, ans; ans:=[ ]: tren:=n: tren1:=0: for i while (tren>0) do st:=round(10*frac(tren/10)): ans:=[op(ans), st]: tren:=trunc(tren/10): od: for i from 0 to nops(ans)-1 do tren1:= tren1 + op(nops(ans)-i, ans)*10^(i): od: return tren1 end: ts_inv_chen_pra:= proc(n) local i, trens, ans; trens:= [ ]; ans:=[ ]; for i from 1 to n do if (ischenprime( i ) = 'true') then ans:=[op(ans), obrni_stev(i)] fi: od: return ans end: ts_inv_chen_pra(2000);

CROSSREFS

Cf. A004087, A109611.

Sequence in context: A101989 A098922 A004087 this_sequence A028906 A118496 A085300

Adjacent sequences: A118492 A118493 A118494 this_sequence A118496 A118497 A118498

KEYWORD

nonn,base,less

AUTHOR

Jani Melik (jani_melik(AT)hotmail.com), May 05 2006

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 | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research