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!)
A229303 Numbers n such that A031971(2*n) == n (mod 2*n). 19

%I #31 May 01 2016 13:23:53

%S 1,2,4,5,7,8,11,13,14,16,17,19,22,23,25,26,28,29,31,32,34,35,37,38,41,

%T 43,44,46,47,49,52,53,56,58,59,61,62,64,65,67,68,71,73,74,76,77,79,82,

%U 83,85,86,88,89,91,92,94,95,97,98,101,103,104,106,107,109,112,113,115,116,118,119,121,122,124,125

%N Numbers n such that A031971(2*n) == n (mod 2*n).

%C Complement of A229307.

%C The asymptotic density is in [0.583154, 0.58455].

%C The numbers k = 1, 2, 6, 42, 1806, 47058, 2214502422, 8490421583559688410706771261086 = A230311 are the only values of k such that the set {n: A031971(k*n) == n (mod k*n)} is nonempty. Its smallest element is n = 1, 1, 1, 1, 1, 5, 5, 39607528021345872635 = A231409. [Comment corrected and expanded by _Jonathan Sondow_, Dec 10 2013]

%C Up to (but excluding) the term 68 the exponents of even prime powers with squarefree neighbors. - _Juri-Stepan Gerasimov_, Apr 30 2016.

%H Alois P. Heinz, <a href="/A229303/b229303.txt">Table of n, a(n) for n = 1..10000</a>

%H Jose María Grau, A. M. Oller-Marcen, and J. Sondow, <a href="http://arxiv.org/abs/1309.7941">On the congruence 1^n + 2^n +... + n^n = d (mod n), where d divides n</a>

%p a:= proc(n) option remember; local m;

%p for m from 1+`if`(n=1, 0, a(n-1)) do

%p if (t-> m=(add(k&^t mod t, k=1..t) mod t))(2*m)

%p then return m fi

%p od

%p end:

%p seq(a(n), n=1..200); # _Alois P. Heinz_, May 01 2016

%t g[n_] := Mod[Sum[PowerMod[i, n, n], {i, n}], n]; Select[Range[100], g[2*#] == # &]

%o (PARI) b(n)=sum(k=1, n, Mod(k,n)^n);

%o for(n=1,200,if(b(2*n)==n,print1(n,", ")));

%o \\ _Joerg Arndt_, May 01 2016

%Y Cf. A014117 (numbers n such that A031971(n)==1 (mod n)).

%Y Cf. A229300 (numbers n such that A031971(1806*n)== n (mod n*1806)).

%Y Cf. A229301 (numbers n such that A031971(42*n) == n (mod 42*n)).

%Y Cf. A229302 (numbers n such that A031971(6*n) == n (mod 6*n)).

%Y Cf. A229303 (numbers n such that A031971(2*n) == n (mod 2*n)).

%Y Cf. A229304 (numbers n such that A031971(1806*n) <> n (mod n*1806)).

%Y Cf. A229305 (numbers n such that A031971(42*n) <> n (mod 42*n)).

%Y Cf. A229306 (numbers n such that A031971(6*n) <> n (mod 6*n)).

%Y Cf. A229307 (numbers n such that A031971(2*n) <> n (mod 2*n)).

%Y Cf. A229308 (primitive numbers in A229304).

%Y Cf. A229309 (primitive numbers in A229305).

%Y Cf. A229310 (primitive numbers in A229306).

%Y Cf. A229311 (primitive numbers in A229307).

%K nonn

%O 1,2

%A _José María Grau Ribas_, Sep 21 2013

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 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)