login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A244149 a(n) = 2*(n*Denominator(((n-1)*(n^2)+2^(n+1)-4)/(2*n))-n)/n+1. 0
1, 1, 1, 3, 1, 5, 1, 7, 5, 9, 1, 11, 1, 13, 9, 15, 1, 17, 1, 19, 13, 21, 1, 23, 9, 25, 17, 3, 1, 29, 1, 31, 21, 33, 69, 35, 1, 37, 25, 39, 1, 41, 1, 43, 5, 45, 1, 47, 13, 49, 33, 51, 1, 53, 109, 55, 37, 57, 1, 59, 1, 61, 41, 63, 25, 65, 1, 67, 45, 9, 1, 71, 1, 73, 49, 75, 153, 77, 1, 79 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
Numbers n such that a(a(n + 1)) = 1: 1 U primes U pseudoprimes;
a(n) such that a(n - 1) = 1: 1 U 1 U odd primes U pseudoprimes.
LINKS
EXAMPLE
a(1) = (2*(1*Denominator(((1-1)*(1^2)+2^(1+1)-4)/(2*1))-1)/1+1 = 1.
PROG
(Magma) [2*(n*Denominator(((n-1)*(n^2)+2^(n+1)-4)/(2*n))-n)/n+1: n in [1..100]];
(PARI) a(n) = 2*(n*denominator(((n-1)*(n^2)+2^(n+1)-4)/(2*n))-n)/n + 1; \\ Michel Marcus, Sep 03 2014
CROSSREFS
Sequence in context: A160596 A092319 A254938 * A147410 A146623 A197943
KEYWORD
nonn
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 11:16 EDT 2024. Contains 371967 sequences. (Running on oeis4.)