login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A131485 Smallest positive integer k == n mod 3 not occurring earlier such that the sum of two successive terms is a squarefree number. 0
1, 2, 3, 4, 11, 6, 7, 8, 9, 10, 5, 12, 19, 14, 15, 22, 17, 18, 19, 20, 21, 16, 23, 24, 31, 20, 27, 28, 29, 30 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

Mod 3 analogue of A077223. A permutation of the natural numbers. There's an obvious limit to the number of successive values which can be consecutive integers.

FORMULA

a(n) = MIN{k > 0 such that 3|(n-k) and k + a(n-1) not in A005117}. a(n) = MIN{k > 0 such that 3|(n-k) and k + a(n-1) in A013929}.

CROSSREFS

Cf. A005117, A013929, A077223.

Sequence in context: A035358 A065633 A160652 * A075833 A117351 A108467

Adjacent sequences:  A131482 A131483 A131484 * A131486 A131487 A131488

KEYWORD

easy,nonn

AUTHOR

Jonathan Vos Post (jvospost3(AT)gmail.com), Oct 01 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 19:13 EST 2012. Contains 206085 sequences.