Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A079464
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A079464 Numbers n such that the "inventory" A063850 of n is prime. +0
1
1, 3, 7, 9, 17, 23, 27, 33, 39, 51, 63, 69, 81, 93, 99, 111, 113, 127, 131, 133, 137, 193, 199, 203, 209, 223, 232, 233, 271, 299, 301, 311, 313, 331, 359, 361, 367, 371, 377, 414, 431, 433, 439, 441, 447, 451, 463, 469, 474, 477, 479, 481, 497, 499, 503, 523 (list; graph; listen)
OFFSET

1,2

LINKS

Carlos Rivera, The Inventory Sequences and Self-Inventoried Numbers, (see Question 7)

EXAMPLE

The "inventory" of 299 is 1229 (one "2", two "9"s), which is prime. Hence 299 belongs to the sequence.

MATHEMATICA

g[n_] := Module[{seen, r, d, l, i, t}, seen = {}; r = {}; d = IntegerDigits[n]; l = Length[d]; For[i = 1, i <= l, i++, t = d[[i]]; If[ ! MemberQ[seen, t], r = Join[r, IntegerDigits[Count[d, t]]]; r = Join[r, {t}]; seen = Append[seen, t]]]; FromDigits[r]]; Select[Range[10^3], PrimeQ[g[ # ]] &]

CROSSREFS

Cf. A063850.

Sequence in context: A126106 A064194 A036978 this_sequence A036976 A031273 A140118

Adjacent sequences: A079461 A079462 A079463 this_sequence A079465 A079466 A079467

KEYWORD

base,nonn

AUTHOR

Joseph L. Pe (joseph_l_pe(AT)hotmail.com), Jan 14 2003

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 30 13:13 EST 2009. Contains 167758 sequences.


AT&T Labs Research