Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A163505
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A163505 n-th odd nonprime mod n-th odd number. +0
1
0, 0, 0, 0, 7, 5, 7, 5, 5, 7, 7, 5, 5, 3, 5, 3, 3, 5, 3, 3, 3, 1, 1, 46, 46, 48, 52, 1, 1, 58, 58, 58, 58, 58, 60, 62, 62, 66, 66, 66, 66, 70, 70, 72, 72, 74, 76, 76, 78, 78, 82, 82, 82, 86, 90, 90, 90, 90, 90, 92, 92, 92, 92, 92, 94, 98, 100, 100, 104, 104, 104, 104, 106, 106 (list; graph; listen)
OFFSET

1,5

FORMULA

a(n)= A014076(n) mod A005408(n-1).

EXAMPLE

a(1)= 1 mod 1 =0. a(2) = 9 mod 3 =0. a(3) = 15 mod 5 =0. a(4)= 21 mod 7 =0. a(5)=(25 mod 9)=7.

MAPLE

A014076 := proc(n) option remember; local a; if n = 1 then 1; else for a from procname(n-1)+2 by 2 do if not isprime(a) then return a; end if; end do: end if; end proc:

A163505 := proc(n) A014076(n) mod (2*n-1); end: seq(A163505(n), n=1..80) ; # R. J. Mathar, Oct 10 2009

CROSSREFS

Cf. A005408, A014076.

Sequence in context: A110943 A021573 A080411 this_sequence A021136 A143297 A072449

Adjacent sequences: A163502 A163503 A163504 this_sequence A163506 A163507 A163508

KEYWORD

nonn

AUTHOR

Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Jul 29 2009

EXTENSIONS

Formula index corrected by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Oct 10 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 December 10 12:37 EST 2009. Contains 170569 sequences.


AT&T Labs Research