Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A161401
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A161401 Numbers n such that the count of primes among the permutations of the digits of n is greater than 1. +0
4
13, 17, 31, 37, 71, 73, 79, 97, 101, 103, 104, 106, 107, 109, 110, 113, 118, 119, 124, 125, 127, 128, 130, 131, 133, 136, 137, 139, 140, 142, 146, 149, 152, 157, 160, 163, 164, 167, 169, 170, 172, 173, 175, 176, 179, 181, 182, 190, 191, 193, 194, 196, 197 (list; graph; listen)
OFFSET

1,1

COMMENT

Leading zeros in the permutations are ignored.

LINKS

Wikipedia,Permutation

C. Hilliard, Comments and PARI program.

EXAMPLE

13 has two permutations of its digits 1, 3 that form a prime, namely 13, 31. So the count of primes for 13 is greater than 1 and 13 is in the sequence.

PROGRAM

(PARI) Cf. C. Hilliard link.

(MAGMA) [ n: n in [1..200] | #[ s: s in Seqset([ Seqint([m(p[i]):i in [1..#x] ], 10): p in Permutations(Seqset(x)) ]) | IsPrime(s) ] gt 1 where m is map< x->y | [<x[i], y[i]>:i in [1..#x] ] > where x is [1..#y] where y is Intseq(n, 10) ]; [From Klaus Brockhaus, Jun 14 2009]

CROSSREFS

Adjacent sequences: A161398 A161399 A161400 this_sequence A161402 A161403 A161404

Sequence in context: A033210 A107159 A138375 this_sequence A006567 A108388 A083983

KEYWORD

base,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)hotmail.com), Jun 09 2009

EXTENSIONS

Edited by Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Jun 14 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 | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 8 20:39 EST 2009. Contains 166234 sequences.


AT&T Labs Research