Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A097649
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A097649 a(n) is the smallest number m such that phi(m)=10^n. +0
2
1, 11, 101, 1111, 10291, 100651, 1004251, 10165751, 100064101, 1000078501, 10000222501, 100062501601, 1000062516001, 10000062660001, 100002441447211, 1003922328562757, 10000390625025601, 100000002482366251 (list; graph; listen)
OFFSET

0,2

COMMENT

phi(1)=1, phi(11)=10 & for n > 0 phi(25*10^n)=10^(n+1), so for each n, a(n) exists and is less than 25*10^(n-1)+1.

EXAMPLE

a(10)=10000222501 because phi(10000222501)=10^10 and for all m<10000222501 phi(m) # 10^10.

a(15)=1003922328562757 because of the primes among the divisors plus 1 of 10^15, they being {2, 3, 5, 11, 17, 41, 101, 251, 257, 401, 641, 1601, 4001, 16001, 25601, 40961, 62501, 160001, 62500001, 2441406251, 2500000001}, the least product of all the possible subsets whose totient equals 10^15 is a(15).

MATHEMATICA

a[n_] := Block[{m = 10^n}, While[ EulerPhi[m] != 10^n, m++ ]; m]; Do[ Print[ a[n]], {n, 0, 12}]

(* first do *) Needs["DiscreteMath`Combinatorica`"] (* then *) f[n_] := If[n == 0, 1, Block[{p = Select[ Divisors[10^n], PrimeQ[ # + 1] &]}, Min[ Transpose[ Partition[ Flatten[ Table[ Select[ Transpose[{Times @@@ KSubsets[p, i], Times @@@ KSubsets[p + 1, i]}], #[[1]] == 10^n &], {i, 9}]], 2]][[2]] ]]]; Table[ f[n], {n, 0, 18}] (from Robert G. Wilson v Mar 14 2005)

CROSSREFS

Cf. A097650.

Sequence in context: A113978 A006943 A073030 this_sequence A072075 A088292 A135563

Adjacent sequences: A097646 A097647 A097648 this_sequence A097650 A097651 A097652

KEYWORD

nonn

AUTHOR

Farideh Firoozbakht (mymontain(AT)yahoo.com), Sep 05 2004

EXTENSIONS

Edited and extended from a(11) by Robert G. Wilson v (rgwv(AT)rgwv.com), Mar 12 2005

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 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research