Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A079466
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A079466 Numbers n such that the "inventory" A063850 of n is a palindrome. +0
2
1, 22, 112, 121, 211, 333, 1113, 1131, 1311, 3111, 4444, 11114, 11141, 11411, 14111, 22233, 22323, 22332, 23223, 23232, 23322, 32223, 32232, 32322, 33222, 41111, 55555 (list; graph; listen)
OFFSET

1,2

LINKS

The Inventory Sequences and Self-Inventoried Numbers in www.primepuzzles.net

EXAMPLE

The "inventory" of 112 is 2112 (two "1"s, one "2"), which is a palindrome. Hence 112 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]]; isPalin[n_] := (n == FromDigits[Reverse[IntegerDigits[n]]]); Select[Range[10^5], isPalin[g[ # ]] &]

CROSSREFS

Cf. A063850. Different from A079676.

Sequence in context: A083123 A084017 A089184 this_sequence A079676 A061596 A074277

Adjacent sequences: A079463 A079464 A079465 this_sequence A079467 A079468 A079469

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 August 29 17:54 EDT 2008. Contains 143238 sequences.


AT&T Labs Research