Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A007546
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A007546 Number of steps to compute n-th prime in PRIMEGAME (fast version).
(Formerly M5074)
+0
3
19, 69, 280, 707, 2363, 3876, 8068, 11319, 19201, 36866, 45551, 75224, 101112, 117831, 152025, 215384, 293375, 327020, 428553, 507519, 555694, 700063, 808331, 989526, 1273490, 1434366, 1530213, 1710923, 1818254, 2019962, 2833089, 3104685 (list; graph; listen)
OFFSET

1,1

REFERENCES

N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

J. H. Conway, FRACTRAN: a simple universal programming language for arithmetic, in T. M. Cover and Gopinath, eds., Open Problems in Communication and Computation, Springer, NY 1987, pp. 4-26.

R. K. Guy, Conway's prime producing machine. Math. Mag. 56 (1983), no. 1, 26-33.

D. Olivastro, Ancient Puzzles. Bantam Books, NY, 1993, p. 21.

MAPLE

with (numtheory): f:= proc(n) local l, b, d; l:= sort([divisors (n)[]]); b:= l[nops(l)-1]; n-1 +(6*n+2)*(n-b) +2*add (floor (n/d), d=b..n-1) end: a:= proc(n) option remember; `if` (n=1, f(2), a(n-1) +add (f(i), i=ithprime (n-1)+1..ithprime (n))) end: seq (a(n), n=1..40); [From Alois P. Heinz (heinz(AT)hs-heilbronn.de), Aug 12 2009]

CROSSREFS

Cf. A007542, A007547.

Sequence in context: A139927 A044157 A044538 this_sequence A007547 A010007 A093350

Adjacent sequences: A007543 A007544 A007545 this_sequence A007547 A007548 A007549

KEYWORD

easy,nonn,nice

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

EXTENSIONS

More terms from Alois P. Heinz (heinz(AT)hs-heilbronn.de), Aug 12 2009

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 November 23 17:09 EST 2009. Contains 167438 sequences.


AT&T Labs Research