OFFSET
1,1
COMMENTS
Analogous to A002620 except primes are substituted for the natural numbers.
FORMULA
Arrange primes in a block spiral formation. a(n) is determined by the point of rotation to allow for continuation of the sequence.
EXAMPLE
Spiral begins:
(73)-79--83--89--97-(101)
| |
71 (17)-19--23-(29) etc.
| | |
67 13 (2)-(3) 31
| | | |
61 (11)--7--(5) 37
| |
(59)-53--47--43-(41)
MAPLE
A059428 := proc(n) RETURN(ithprime(1+floor(n^2/4))) end: # Francisco Salinas (franciscodesalinas(AT)hotmail.com), Jan 05 2002
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jason Earls, Mar 15 2001
EXTENSIONS
More terms from Larry Reeves (larryr(AT)acm.org), Apr 19 2001
STATUS
approved