Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A084663
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A084663 a(1) = 8; a(n) = a(n-1) + gcd(a(n-1), n). +0
6
8, 10, 11, 12, 13, 14, 21, 22, 23, 24, 25, 26, 39, 40, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 87, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 177, 180, 181, 182, 189, 190 (list; graph; listen)
OFFSET

1,1

COMMENT

The first 150000000 differences are all primes or 1. Is this true in general?

REFERENCES

Eric S. Rowland, A simple prime-generating recurrence, Abstracts Amer. Math. Soc., 29 (No. 1, 2008), p. 50 (Abstract 1035-11-986).

LINKS

T. D. Noe, Table of n, a(n) for n=1..1000

Eric S. Rowland, A simple prime-generating recurrence.

MAPLE

S := 8; f := proc(n) option remember; global S; if n=1 then S else f(n-1)+igcd(n, f(n-1)); fi; end;

MATHEMATICA

f[n_] := f[n-1] + GCD[n, f[n-1]]; f[1]=8

CROSSREFS

Cf. A084662, A106108.

Sequence in context: A031953 A043697 A043425 this_sequence A031037 A006757 A126803

Adjacent sequences: A084660 A084661 A084662 this_sequence A084664 A084665 A084666

KEYWORD

nonn

AUTHOR

Matthew Frank (mfrank(AT)wopr.wolfram.com) on behalf of the 2003 New Kind of Science Summer School, Jul 15 2003

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 July 6 17:22 EDT 2008. Contains 140988 sequences.


AT&T Labs Research