Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A067598
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A067598 Decimal encoding of the prime factorization of n is a multiple of n. +0
2
21, 36, 8277, 22987, 31199, 59577, 2092101, 25224589, 29963201 (list; graph; listen)
OFFSET

1,1

COMMENT

If n = p_1^e_1 * ... * p_r^e_r with p_1 < ... < p_r, then the decimal encoding is p_1 e_1...p_r e_r. For example, 15 = 3^1 * 5^1, so has decimal encoding 3151.

EXAMPLE

The prime factorization of 21 = 3^1 * 7^1 with corresponding encoding 3171. 3171 = 21 * 151, a multiple of 21. So 21 is a term of the sequence.

MATHEMATICA

Select[Range[100000], Mod[FromDigits[Flatten[IntegerDigits /@ Flatten[FactorInteger[ # ]]]], # ] ==0 &]

PROGRAM

(PARI) {a067598(a, b) = local(n, v); for(n=max(2, a), b, v=factor(n); if(eval(concat(vector(matsize(v)[1], k, concat(vector(matsize(v)[2], j, Str(v[k, j]))))))%n==0, print1(n, ", ")))}

CROSSREFS

Sequence in context: A155710 A001491 A112352 this_sequence A043683 A043572 A043728

Adjacent sequences: A067595 A067596 A067597 this_sequence A067599 A067600 A067601

KEYWORD

base,easy,nonn

AUTHOR

Joseph L. Pe (joseph_l_pe(AT)hotmail.com), Jan 31 2002

EXTENSIONS

Edited and extended by Robert G. Wilson v (rgwv(AT)rgwv.com), Feb 02 2002

Two more terms from Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Feb 20 2002

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 December 20 00:58 EST 2009. Contains 171054 sequences.


AT&T Labs Research