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!)
A059471 a(1) = 2; a(n+1) is obtained by trying to change just one digit of a(n), starting with the least significant digit, until a new prime is reached. 6

%I #27 Sep 25 2022 22:55:33

%S 2,3,5,7,17,11,13,19,29,23,43,41,47,37,31,61,67,97,197,191,193,199,

%T 109,101,103,107,127,137,131,139,149,179,173,113,163,167,157,151,181,

%U 281,283,223,227,229,239,233,263,269,569,563,503,509,599,593,523,521,541,547,557

%N a(1) = 2; a(n+1) is obtained by trying to change just one digit of a(n), starting with the least significant digit, until a new prime is reached.

%C Take the lexicographically earliest sequence, subject to the rules that the leftmost digit must be replaced by a nonzero digit, the other digits by any digit.

%C It is not known if the sequence is infinite.

%C The sequence is finite with last term a(17115) = 3377464733, see links for illustration. - _Reinhard Zumkeller_, Apr 20 2011

%C Zumkeller's demonstration of finiteness is false if some other leading 0 rather than the immediate leading 0 can be replaced, otherwise a(17116) = 203377464733 (cf. also A059498). - _Sean A. Irvine_, Sep 25 2022

%H Reinhard Zumkeller, <a href="/A059471/b059471.txt">Table of n, a(n) for n = 1..17115</a> (full sequence)

%H Reinhard Zumkeller, <a href="/A059471/a059471.txt">Why 3377464733 is the last term</a>

%H Reinhard Zumkeller, <a href="/A059471/a059471.hs.txt">A Haskell program for A059471</a>

%Y Decimal analog of A059458. See also A059472 for primes that are missed.

%Y Cf. A059496, A059497, A059498.

%K nonn,base,nice,fini,full

%O 1,1

%A _N. J. A. Sloane_, Feb 03 2001

%E More terms from _David W. Wilson_, Feb 05 2001

%E Keyword fini added by _Reinhard Zumkeller_, Apr 20 2011

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 12 22:25 EDT 2024. Contains 372496 sequences. (Running on oeis4.)