login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A097208 a(n) is the least k such that A098598(k) = n. 0
40, 24, 19, 17, 16, 10, 23, 21, 92, 313, 155, 551, 2575, 757, 13537, 5525, 35133, 33953, 332975, 355573, 3157535, 1571573, 2732737, 3775555, 5737571, 37332775 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

a(27) = 75787577. No more terms < 10^8. - David Wasserman, Dec 27 2007

LINKS

Table of n, a(n) for n=0..25.

EXAMPLE

a(3)=17 because it is the least number that contains 3 primes in the sequence 1,7,8,15,23,38,61,99,160,259.

MATHEMATICA

f[n_] := Block[{id = IntegerDigits[n], t = Floor[ Log[10, n] + 1], b}, Do[ b[i] = id[[i]], {i, t}]; b[i_] := b[i] = Plus @@ Table[b[i - j], {j, t}]; k = t + 1; While[b[k] < n^2, k++ ]; Count[ PrimeQ[ Table[b[i], {i, k - 1}]], True]]; t = Table[0, {50}]; Do[c = f[n]; If[ t[[c + 1]] == 0, t[[c + 1]] = n; Print[c, " = ", n]], {n, 10, 12000000}]; t (* Robert G. Wilson v, Oct 07 2004 *)

CROSSREFS

Cf. A098598.

Sequence in context: A033975 A033360 A029543 * A216137 A163956 A229661

Adjacent sequences:  A097205 A097206 A097207 * A097209 A097210 A097211

KEYWORD

base,nonn,more

AUTHOR

Jason Earls, Sep 17 2004

EXTENSIONS

Corrected and extended by Robert G. Wilson v, Oct 07 2004

a(25), a(27) and better definition from David Wasserman, Dec 27 2007

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 25 23:08 EST 2020. Contains 331270 sequences. (Running on oeis4.)