The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A087305 Smallest n-digit non-palindromic number such that it and its digit reversal have the same prime signature. 0
13, 107, 1002, 10002, 100006, 1000007, 10000013, 100000005, 1000000007, 10000000006, 100000000007, 1000000000006, 10000000000003, 100000000000002, 1000000000000003, 10000000000000002, 100000000000000005, 1000000000000000005, 10000000000000000021, 100000000000000000031 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
LINKS
EXAMPLE
a(6) = 100006 = 2*13*1613 and 600001 = 19*23*1373 both have prime signature p*q*r, p,q,r are primes.
PROG
(PARI) rev(n) = fromdigits(Vecrev(digits(n)));
psig(n) = vecsort(factor(n)[, 2]~);
a(n) = {my(k = 10^n+1); while(k == rev(k) || psig(k) != psig(rev(k)), k++); k; } \\ Amiram Eldar, May 19 2024
CROSSREFS
Sequence in context: A142364 A164301 A322499 * A168117 A244176 A038384
KEYWORD
base,nonn,changed
AUTHOR
Amarnath Murthy, Sep 02 2003
EXTENSIONS
More terms from David Wasserman, Apr 19 2005
More terms from Amiram Eldar, May 19 2024
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 27 20:38 EDT 2024. Contains 372882 sequences. (Running on oeis4.)